Class: GitSu::UserList::Search

Inherits:
Object
  • Object
show all
Defined in:
lib/gitsu/user_list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#matchesObject

Returns the value of attribute matches.



61
62
63
# File 'lib/gitsu/user_list.rb', line 61

def matches
  @matches
end

#termObject

Returns the value of attribute term.



61
62
63
# File 'lib/gitsu/user_list.rb', line 61

def term
  @term
end