summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-02 13:11:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-02 13:11:55 +0000
commit908e70185162e31fc716a8ff7895f221f70ff97c (patch)
treeb8f5e6a64f5fb31d76ac7f783639cf70b72091f7
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
-rw-r--r--ChangeLog4
-rwxr-xr-xbin/irb11
2 files changed, 5 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index f4208d6..7939401 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu May 2 22:11:47 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * bin/irb: remove dead code from sample/irb.rb.
+
Thu May 2 17:32:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
* marshal.c (copy_ivar_i): get rid of overwriting already copied
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__)