mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/irb/init.rb: removed unreachable code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
47f8840e32
commit
9b9a9249f4
2 changed files with 6 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Aug 8 16:40:59 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* lib/irb/init.rb: removed unreachable code.
|
||||
|
||||
Fri Aug 8 16:34:22 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* lib/drb/drb.rb: removed unreachable code.
|
||||
|
|
|
@ -122,8 +122,6 @@ module IRB # :nodoc:
|
|||
@CONF[:LC_MESSAGES].load("irb/error.rb")
|
||||
end
|
||||
|
||||
FEATURE_IOPT_CHANGE_VERSION = "1.9.0"
|
||||
|
||||
# option analyzing
|
||||
def IRB.parse_opts
|
||||
load_path = []
|
||||
|
@ -220,10 +218,8 @@ module IRB # :nodoc:
|
|||
break
|
||||
end
|
||||
end
|
||||
if RUBY_VERSION >= FEATURE_IOPT_CHANGE_VERSION
|
||||
load_path.collect! do |path|
|
||||
/\A\.\// =~ path ? path : File.expand_path(path)
|
||||
end
|
||||
load_path.collect! do |path|
|
||||
/\A\.\// =~ path ? path : File.expand_path(path)
|
||||
end
|
||||
$LOAD_PATH.unshift(*load_path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue