mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +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
11
bin/irb
11
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__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue