lib/code/object/global.rb in code-ruby-0.15.5 vs lib/code/object/global.rb in code-ruby-0.15.6

- old
+ new

@@ -85,9 +85,16 @@ if arguments.any? IdentifierList.new(*arguments.raw) else Class.new(IdentifierList) end + when "Html" + sig(args) { Object.repeat } + if arguments.any? + Html.new(*arguments.raw) + else + Class.new(Html) + end when "evaluate" sig(args) { Object } Code.evaluate(value.to_s) when "p" sig(args) { Object.repeat }