mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/irb.rb: removed commented-out code.
* lib/irb/**/*.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5afa23b4a4
commit
76515504d5
18 changed files with 8 additions and 137 deletions
|
@ -21,8 +21,7 @@ module IRB # :nodoc:
|
|||
def set_last_value(value)
|
||||
_set_last_value(value)
|
||||
|
||||
# @workspace.evaluate self, "_ = IRB.CurrentContext.last_value"
|
||||
if @eval_history #and !@eval_history_values.equal?(llv)
|
||||
if @eval_history
|
||||
@eval_history_values.push @line_no, @last_value
|
||||
@workspace.evaluate self, "__ = IRB.CurrentContext.instance_eval{@eval_history_values}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue