summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-02 13:11:55 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-02 13:11:55 (GMT)
commit908e70185162e31fc716a8ff7895f221f70ff97c (patch)
treeb8f5e6a64f5fb31d76ac7f783639cf70b72091f7 /bin
parent5e79c1a543135d474addc9898e3246fe36ff37fd (diff)
irb: dead code
* bin/irb: remove dead code from sample/irb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin')
-rwxr-xr-xbin/irb11
1 files changed, 1 insertions, 10 deletions
diff --git a/bin/irb b/bin/irb
index 6c8465c..c64ee85 100755
--- a/bin/irb
+++ b/bin/irb
@@ -8,13 +8,4 @@
require "irb"
-if __FILE__ == $0
- IRB.start(__FILE__)
-else
- # check -e option
- if /^-e$/ =~ $0
- IRB.start(__FILE__)
- else
- IRB.setup(__FILE__)
- end
-end
+IRB.start(__FILE__)