зеркало из https://github.com/github/ruby.git
* 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:
Родитель
35caefa5f1
Коммит
a03c075845
|
@ -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 + ")"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче