mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/irb/ext/multi-irb.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8f0543a364
commit
f9a81499ff
2 changed files with 4 additions and 19 deletions
|
@ -231,25 +231,6 @@ module IRB
|
|||
@JobManager.current_job = @JobManager.irb(Thread.current)
|
||||
end
|
||||
|
||||
# class Context
|
||||
# def set_last_value(value)
|
||||
# @last_value = value
|
||||
# @workspace.evaluate "_ = IRB.JobManager.irb(Thread.current).context.last_value"
|
||||
# if @eval_history #and !@__.equal?(@last_value)
|
||||
# @eval_history_values.push @line_no, @last_value
|
||||
# @workspace.evaluate "__ = IRB.JobManager.irb(Thread.current).context.instance_eval{@eval_history_values}"
|
||||
# end
|
||||
# @last_value
|
||||
# end
|
||||
# end
|
||||
|
||||
# module ExtendCommand
|
||||
# def irb_context
|
||||
# IRB.JobManager.irb(Thread.current).context
|
||||
# end
|
||||
# # alias conf irb_context
|
||||
# end
|
||||
|
||||
@CONF[:SINGLE_IRB_MODE] = false
|
||||
@JobManager.insert(@CONF[:MAIN_CONTEXT].irb)
|
||||
@JobManager.current_job = @CONF[:MAIN_CONTEXT].irb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue