Class: Codeforces::Models::Users
- Defined in:
- lib/codeforces/models/users.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Codeforces::Models::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Codeforces::Models::Base
Instance Method Details
#grep(option) ⇒ Object
5 6 7 |
# File 'lib/codeforces/models/users.rb', line 5 def grep(option) chain(base.select {|x| match?(option, x) }) end |