diff options
author | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-26 12:42:09 +0000 |
---|---|---|
committer | keiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-26 12:42:09 +0000 |
commit | a03c07584577f279183946bf238994b345c95ffd (patch) | |
tree | 140ea996b2e129317467687f08c3f728a0cd3740 /lib/irb | |
parent | 35caefa5f1a6c20c1c9bc9bb92a681d7969b0f14 (diff) | |
download | ruby-a03c07584577f279183946bf238994b345c95ffd.tar.gz |
* 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
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/context.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 + ")" |