From 764f1789b2d97ea84b3187164292afca96434d76 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 14 Dec 2007 17:05:15 +0000 Subject: * lib/rdoc/options.rb (Options::parse): do not access $KCODE any longer. [ruby-core:14079] * lib/irb/init.rb (IRB::IRB.parse_opts): ditto. * lib/cgi.rb (CGI::CGI): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/irb/init.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/irb') diff --git a/lib/irb/init.rb b/lib/irb/init.rb index 0fd54ee80..3b455ec58 100644 --- a/lib/irb/init.rb +++ b/lib/irb/init.rb @@ -140,8 +140,6 @@ module IRB when /^-I(.+)?/ opt = $1 || ARGV.shift load_path.concat(opt.split(File::PATH_SEPARATOR)) if opt - when /^-K(.)/ - $KCODE = $1 when "--inspect" @CONF[:INSPECT_MODE] = true when "--noinspect" -- cgit