Class: Proc

Inherits:
Object
  • Object
show all
Defined in:
lib/alephant/logger/dynamic_binding.rb

Instance Method Summary collapse

Instance Method Details

#call_with_binding(bind, *args) ⇒ Object



31
32
33
# File 'lib/alephant/logger/dynamic_binding.rb', line 31

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