From a03c07584577f279183946bf238994b345c95ffd Mon Sep 17 00:00:00 2001 From: keiju Date: Wed, 26 Dec 2012 12:42:09 +0000 Subject: * 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 --- lib/irb/context.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/irb/context.rb') diff --git a/lib/irb/context.rb b/lib/irb/context.rb index b44f8ca2fe..d856f16c1f 100644 --- a/lib/irb/context.rb +++ b/lib/irb/context.rb @@ -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 + ")" -- cgit v1.2.3