mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 21:49:06 +02:00
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
This commit is contained in:
parent
5e79c1a543
commit
908e701851
2 changed files with 5 additions and 10 deletions
|
@ -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>
|
Thu May 2 17:32:45 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* marshal.c (copy_ivar_i): get rid of overwriting already copied
|
* marshal.c (copy_ivar_i): get rid of overwriting already copied
|
||||||
|
|
11
bin/irb
11
bin/irb
|
@ -8,13 +8,4 @@
|
||||||
|
|
||||||
require "irb"
|
require "irb"
|
||||||
|
|
||||||
if __FILE__ == $0
|
IRB.start(__FILE__)
|
||||||
IRB.start(__FILE__)
|
|
||||||
else
|
|
||||||
# check -e option
|
|
||||||
if /^-e$/ =~ $0
|
|
||||||
IRB.start(__FILE__)
|
|
||||||
else
|
|
||||||
IRB.setup(__FILE__)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue