Module: Care::AutoFinder::Searchable::ClassMethods
- Defined in:
- lib/care/auto_finder/searchable.rb
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
Instance Method Summary collapse
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns.
44 45 46 |
# File 'lib/care/auto_finder/searchable.rb', line 44 def columns @columns end |
Instance Method Details
#search_by(*columns) ⇒ Object
46 47 48 |
# File 'lib/care/auto_finder/searchable.rb', line 46 def search_by(*columns) self.columns = columns end |