mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/irb/context.rb: make a correct prompt from
IRB.conf[:IRB_NAME] on irb [Bug #6338]. Patched by sho-h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
35caefa5f1
commit
a03c075845
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Dec 26 21:32:46 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||
|
||||
* lib/irb/context.rb: make a correct prompt from
|
||||
IRB.conf[:IRB_NAME] on irb [Bug #6338]. Patched by sho-h.
|
||||
|
||||
Wed Dec 26 21:09:19 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||
|
||||
* lib/irb/ext/math-mode.rb: make not able to change math-mode
|
||||
|
|
|
@ -57,7 +57,7 @@ module IRB
|
|||
if IRB.conf[:SINGLE_IRB] or !defined?(JobManager)
|
||||
@irb_name = IRB.conf[:IRB_NAME]
|
||||
else
|
||||
@irb_name = "irb#"+IRB.JobManager.n_jobs.to_s
|
||||
@irb_name = IRB.conf[:IRB_NAME]+"#"+IRB.JobManager.n_jobs.to_s
|
||||
end
|
||||
@irb_path = "(" + @irb_name + ")"
|
||||
|
||||
|
|
Loading…
Reference in a new issue