chirejaszy

Results 2 comments of chirejaszy

src/org/jrubyparser/ast/RootNode.java

require 'jruby-parser' root = JRubyParser.parse("b = foo(1)") fcall = root.find_node(:fcall) fcall.name = 'bar' fcall.args[0] = true # Write out the new source root.to_source # b = bar(true)