We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 272f5c2 commit 6ffd850Copy full SHA for 6ffd850
1 file changed
lib/iruby/backend.rb
@@ -18,7 +18,7 @@ def eval(code, store_history)
18
# TODO Add IRuby.cache_size which controls the size of the Out array
19
# and sets the oldest entries and _<n> variables to nil.
20
if store_history
21
- b.local_variable_set("_#{Out.size}", out)
+ b.local_variable_set("_o#{Out.size}", out)
22
b.local_variable_set("_i#{In.size}", code)
23
24
Out << out
0 commit comments