Class: LocalVault::GroupCatalog::Match
- Inherits:
-
Data
- Object
- Data
- LocalVault::GroupCatalog::Match
- Defined in:
- lib/localvault/group_catalog.rb
Instance Attribute Summary collapse
-
#groups ⇒ Object
readonly
Returns the value of attribute groups.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Instance Method Summary collapse
Instance Attribute Details
#groups ⇒ Object (readonly)
Returns the value of attribute groups
9 10 11 |
# File 'lib/localvault/group_catalog.rb', line 9 def groups @groups end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
9 10 11 |
# File 'lib/localvault/group_catalog.rb', line 9 def kind @kind end |
#query ⇒ Object (readonly)
Returns the value of attribute query
9 10 11 |
# File 'lib/localvault/group_catalog.rb', line 9 def query @query end |
Instance Method Details
#group ⇒ Object
10 11 12 |
# File 'lib/localvault/group_catalog.rb', line 10 def group groups.one? ? groups.first : nil end |