lib/sexpr/rewriter.rb in sexpr-0.4.0 vs lib/sexpr/rewriter.rb in sexpr-0.5.0

- old
+ new

@@ -10,10 +10,10 @@ (self.class.instance_variable_get(:"@sexpr_grammar") || super) rescue Sexpr end def copy_and_apply(sexpr) sexpr.sexpr_copy do |copy, child| - copy << (Sexpr===child ? call(child) : child) + copy << (Sexpr===child ? apply(child) : child) end end end # class Rewriter end # module Sexpr \ No newline at end of file