Class: UnboundMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/abstractivator/proc_ext.rb

Instance Method Summary collapse

Instance Method Details

#explicit_receiverObject



42
43
44
45
46
# File 'lib/abstractivator/proc_ext.rb', line 42

def explicit_receiver
  proc do |receiver, *args, &block|
    self.bind(receiver).call(*args, &block)
  end
end