Module: Tire::Model::Import::ClassMethods
- Included in:
- Search::ClassMethodsProxy
- Defined in:
- lib/tire/model/import.rb
Instance Method Summary collapse
Instance Method Details
#import(options = {}, &block) ⇒ Object
20 21 22 23 |
# File 'lib/tire/model/import.rb', line 20 def import ={}, &block strategy = Strategy.from_class(klass, ) strategy.import &block end |