ruby-changes:26592
From: keiju <ko1@a...>
Date: Fri, 28 Dec 2012 21:49:39 +0900 (JST)
Subject: [ruby-changes:26592] keiju:r38643 (trunk): * lib/irb/context.rb: IRB::Context#new: Check from JobManager
keiju 2012-12-28 21:49:19 +0900 (Fri, 28 Dec 2012) New Revision: 38643 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38643 Log: * lib/irb/context.rb: IRB::Context#new: Check from JobManager inside IRB namespace [Bug #7628]. Thanks rafaelfranca for bug report and its patch. Modified files: trunk/ChangeLog trunk/lib/irb/context.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 38642) +++ ChangeLog (revision 38643) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Dec 28 21:40:36 2012 Keiju Ishitsuka <keiju@i...> + + * lib/irb/context.rb: IRB::Context#new: Check from JobManager + inside IRB namespace [Bug #7628]. Thanks rafaelfranca for bug + report and its patch. + Fri Dec 28 17:06:17 2012 Akinori MUSHA <knu@i...> * misc/ruby-electric.el (ruby-electric-curlies): Automatically Index: lib/irb/context.rb =================================================================== --- lib/irb/context.rb (revision 38642) +++ lib/irb/context.rb (revision 38643) @@ -54,7 +54,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/context.rb#L54 self.prompt_mode = IRB.conf[:PROMPT_MODE] - if IRB.conf[:SINGLE_IRB] or !defined?(JobManager) + if IRB.conf[:SINGLE_IRB] or !defined?(IRB::JobManager) @irb_name = IRB.conf[:IRB_NAME] else @irb_name = IRB.conf[:IRB_NAME]+"#"+IRB.JobManager.n_jobs.to_s -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/