lib/delorean/base.rb in delorean_lang-2.4.2 vs lib/delorean/base.rb in delorean_lang-2.5.0
- old
+ new
@@ -74,10 +74,10 @@
engine.eval_to_hash(node, args, cloned_params)
end
# add new arguments, results in a new NodeCall
def +(args)
- raise 'bad arg to %' unless args.is_a?(Hash)
+ raise 'bad arg to +' unless args.is_a?(Hash)
NodeCall.new(_e, engine, node, params.merge(args))
end
end