Skip to content

Commit

Permalink
* lib/irb/context.rb: make a correct prompt from
Browse files Browse the repository at this point in the history
	  IRB.conf[:IRB_NAME] on irb [Bug ruby#6338]. Patched by sho-h.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
keiju committed Dec 26, 2012
1 parent 35caefa commit a03c075
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/irb/context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def initialize(irb, workspace = nil, input_method = nil, output_method = nil)
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 + ")"

Expand Down

0 comments on commit a03c075

Please sign in to comment.