Extensions for Proc
Returns a hash of localvar/localvar-values from proc, useful for template engines that do not accept bindings/proc and force passing locals via hash
Usage:
x = 42; p Proc.new.locals #=> {'x'=> 42}
# File lib/ramaze/snippets/proc/locals.rb, line 14 14: def locals 15: instance_eval('binding').locals 16: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.