module Chewy::Index::Crutch::ClassMethods

Public Instance Methods

crutch(name, &block) click to toggle source
# File lib/chewy/index/crutch.rb, line 34
def crutch(name, &block)
  self._crutches = _crutches.merge(name.to_sym => block)
end