diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-05 03:09:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-05 03:09:34 +0000 |
commit | 504e6b4dacf4071ffc8ead7460098fe560de4f04 (patch) | |
tree | a44d11167b995f5cc2b2c001cd783598a14faa9e /lib/irb | |
parent | af54c1694cc4139d06797475f9091664d83d8a75 (diff) | |
download | ruby-504e6b4dacf4071ffc8ead7460098fe560de4f04.tar.gz |
* lib/irb/init.rb (IRB.parse_opts): fix typo. [ruby-core:33574]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/irb')
-rw-r--r-- | lib/irb/init.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/init.rb b/lib/irb/init.rb index 5c1d56e980..2d7ff3146e 100644 --- a/lib/irb/init.rb +++ b/lib/irb/init.rb @@ -207,7 +207,7 @@ module IRB IRB.print_usage exit 0 when "--" - if opt = ARGV.shfit + if opt = ARGV.shift @CONF[:SCRIPT] = opt $0 = opt end |