* lib/irb/ext/math-mode.rb: make not able to change math-mode
after irb starting [Bug #6302]. Patched by sho-h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
32bb0eeb36
commit
35caefa5f1
@ -1,3 +1,8 @@
|
|||||||
|
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
|
||||||
|
after irb starting [Bug #6302]. Patched by sho-h.
|
||||||
|
|
||||||
Wed Dec 26 12:52:36 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
Wed Dec 26 12:52:36 2012 Keiju Ishitsuka <keiju@ishitsuka.com>
|
||||||
|
|
||||||
* lib/irb/init.rb: change default debug level for
|
* lib/irb/init.rb: change default debug level for
|
||||||
|
@ -27,7 +27,7 @@ module IRB
|
|||||||
# See IRB@Command+line+options and the unix manpage <code>bc(1)</code> for
|
# See IRB@Command+line+options and the unix manpage <code>bc(1)</code> for
|
||||||
# more information.
|
# more information.
|
||||||
def math_mode=(opt)
|
def math_mode=(opt)
|
||||||
if @math_mode == true && opt == false
|
if @math_mode == true && !opt
|
||||||
IRB.fail CantReturnToNormalMode
|
IRB.fail CantReturnToNormalMode
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user