aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb/init.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-20 09:11:36 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-20 09:11:36 +0000
commit6a08beef517fa766b276975cdb2619939c6f7779 (patch)
tree8c142e3d90ad0b9d8b5181ede70b39064a71943f /lib/irb/init.rb
parent23e481e390ecf9b1ea438ab9a6cab0079f811e61 (diff)
downloadruby-6a08beef517fa766b276975cdb2619939c6f7779.tar.gz
Removed math mode from irb.
mathn is deprecated from Ruby 2.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb/init.rb')
-rw-r--r--lib/irb/init.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb
index 1184db15ea..700466beda 100644
--- a/lib/irb/init.rb
+++ b/lib/irb/init.rb
@@ -43,7 +43,6 @@ module IRB # :nodoc:
@CONF[:LOAD_MODULES] = []
@CONF[:IRB_RC] = nil
- @CONF[:MATH_MODE] = false
@CONF[:USE_READLINE] = false unless defined?(ReadlineInputMethod)
@CONF[:INSPECT_MODE] = true
@CONF[:USE_TRACER] = false
@@ -128,8 +127,6 @@ module IRB # :nodoc:
case opt
when "-f"
@CONF[:RC] = false
- when "-m"
- @CONF[:MATH_MODE] = true
when "-d"
$DEBUG = true
$VERBOSE = true