Class: LocalVault::GroupCatalog::Group

Inherits:
Data
  • Object
show all
Defined in:
lib/localvault/group_catalog.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#entriesObject (readonly)

Returns the value of attribute entries

Returns:

  • (Object)

    the current value of entries



4
5
6
# File 'lib/localvault/group_catalog.rb', line 4

def entries
  @entries
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



4
5
6
# File 'lib/localvault/group_catalog.rb', line 4

def kind
  @kind
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/localvault/group_catalog.rb', line 4

def name
  @name
end

Instance Method Details

#countObject



5
6
7
# File 'lib/localvault/group_catalog.rb', line 5

def count
  entries.length
end