Class: GitSu::UserList::Search
- Inherits:
-
Object
- Object
- GitSu::UserList::Search
- Defined in:
- lib/gitsu/user_list.rb
Instance Attribute Summary collapse
-
#matches ⇒ Object
Returns the value of attribute matches.
-
#term ⇒ Object
Returns the value of attribute term.
Instance Method Summary collapse
-
#initialize(term) ⇒ Search
constructor
A new instance of Search.
Constructor Details
#initialize(term) ⇒ Search
Returns a new instance of Search.
62 63 64 |
# File 'lib/gitsu/user_list.rb', line 62 def initialize(term) @term, @matches = term, [] end |
Instance Attribute Details
#matches ⇒ Object
Returns the value of attribute matches.
61 62 63 |
# File 'lib/gitsu/user_list.rb', line 61 def matches @matches end |
#term ⇒ Object
Returns the value of attribute term.
61 62 63 |
# File 'lib/gitsu/user_list.rb', line 61 def term @term end |