Method: Chewy::Index::Crutch::Crutches#initialize
- Defined in:
- lib/chewy/index/crutch.rb
#initialize(index, collection) ⇒ Crutches
Returns a new instance of Crutches.
12 13 14 15 16 |
# File 'lib/chewy/index/crutch.rb', line 12 def initialize(index, collection) @index = index @collection = collection @crutches_instances = {} end |