Object
# File lib/parse_tree_extensions.rb, line 39
39: def to_ruby
40: name = ProcStoreTmp.new_name
41: ProcStoreTmp.send(:define_method, name, self)
42: m = ProcStoreTmp.new.method(name)
43: result = m.to_ruby.sub(/def #{name}(?:\(([^\)]*)\))?/,
44: 'proc { |\1|').sub(/end\Z/, '}')
45: return result
46: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.