diff options
Diffstat (limited to 'lib/irb/ext/math-mode.rb')
-rw-r--r-- | lib/irb/ext/math-mode.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/irb/ext/math-mode.rb b/lib/irb/ext/math-mode.rb index 067eb1e7fa..01bd24a157 100644 --- a/lib/irb/ext/math-mode.rb +++ b/lib/irb/ext/math-mode.rb @@ -28,14 +28,14 @@ module IRB # more information. def math_mode=(opt) if @math_mode == true && !opt - IRB.fail CantReturnToNormalMode - return + IRB.fail CantReturnToNormalMode + return end @math_mode = opt if math_mode - main.extend Math - print "start math mode\n" if verbose? + main.extend Math + print "start math mode\n" if verbose? end end |