diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-14 04:34:43 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-07-14 04:34:43 +0000 |
| commit | a0b0c78c4ae1361b9d5de0dde566bbcf1dfe7f69 (patch) | |
| tree | 4db0e4a9b7f8a22513a4fd558425cb0fbaf5eb57 /sample | |
| parent | 49b5f70617d0d4ffe6355c0ee22b909b9a29ad23 (diff) | |
| download | ruby-a0b0c78c4ae1361b9d5de0dde566bbcf1dfe7f69.tar.gz ruby-a0b0c78c4ae1361b9d5de0dde566bbcf1dfe7f69.tar.xz ruby-a0b0c78c4ae1361b9d5de0dde566bbcf1dfe7f69.zip | |
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
| -rw-r--r-- | sample/irb.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sample/irb.rb b/sample/irb.rb index 38d184dfd..6746c59d4 100644 --- a/sample/irb.rb +++ b/sample/irb.rb @@ -19,8 +19,7 @@ if __FILE__ == $0 IRB.start(__FILE__) else # check -e option - tmp = ENV["TMP"] || ENV["TMPDIR"] || "/tmp" - if %r|#{tmp}/rb| =~ $0 + if /^-e$/ =~ $0 IRB.start(__FILE__) else IRB.initialize(__FILE__) |
