Fixed small issue with ARGV and IRB

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-01-05 19:16:50 +00:00
parent efe0348486
commit fd48e70d6c

@ -417,6 +417,8 @@ def use_drb? #:nodoc:
end
module IRB # :nodoc:
def IRB.parse_opts() end
class << self; remove_method :start; end
def self.start(ap_path = nil, main_context = nil, workspace = nil)
$0 = File::basename(ap_path, ".rb") if ap_path