lib/code.rb in code-ruby-0.7.4 vs lib/code.rb in code-ruby-0.7.5
- old
+ new
@@ -35,10 +35,16 @@
Timeout.timeout(timeout) do
context =
if context == EMPTY_STRING
Object::Context.new
else
- Code.evaluate(context, timeout:, output:, error:, ruby:).code_to_context
+ Code.evaluate(
+ context,
+ timeout:,
+ output:,
+ error:,
+ ruby:
+ ).code_to_context
end
context = ruby.merge(context)
Node::Code.new(parsed).evaluate(context:, output:, error:)