Module: BootyCall::Callbacker::InstanceMethods

Defined in:
lib/booty_call/callbacker.rb

Instance Method Summary collapse

Instance Method Details

#__PRISTINE__(method_id, *args, &block) ⇒ Object



80
81
82
83
84
85
86
# File 'lib/booty_call/callbacker.rb', line 80

def __PRISTINE__(method_id, *args, &block)
  if method = self.class.pristine_cache[method_id]
    method.bind(self).call(*args, &block)
  else
    raise NoMethodError, "No method named #{method_id.inspect}"
  end
end