Class: Yuriita::Search
- Inherits:
-
Object
- Object
- Yuriita::Search
- Includes:
- ActiveModel::Model
- Defined in:
- lib/yuriita/search.rb
Instance Method Summary collapse
-
#initialize(table, param_key) ⇒ Search
constructor
A new instance of Search.
Constructor Details
#initialize(table, param_key) ⇒ Search
Returns a new instance of Search.
7 8 9 10 11 |
# File 'lib/yuriita/search.rb', line 7 def initialize(table, param_key) define_singleton_method(param_key) do table.q end end |