Module: RorHack::ProcHack

Included in:
Proc
Defined in:
lib/ror_hack/proc_hack.rb

Instance Method Summary collapse

Instance Method Details

#call_with_binding(bind, *args) ⇒ Object



42
43
44
# File 'lib/ror_hack/proc_hack.rb', line 42

def call_with_binding(bind, *args)
  LookupStack.new([bind]).run_proc(self, *args)
end