summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-19 02:00:18 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-11-19 02:00:18 +0000
commit86a5ba2b011836ff97e4224dd1e65869fd2b7362 (patch)
treeb9a0d9252951165a6f611a779e1c7f4b15ad65d7
parent3dc5049a49914b8662d5db556d98dc3e6c504ad2 (diff)
initialize hack
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--bin/irb2
-rw-r--r--lib/irb/init.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/irb b/bin/irb
index 58f3699..309da52 100644
--- a/bin/irb
+++ b/bin/irb
@@ -16,6 +16,6 @@ else
if /^-e$/ =~ $0
IRB.start(__FILE__)
else
- IRB.initialize(__FILE__)
+ IRB.setup(__FILE__)
end
end
diff --git a/lib/irb/init.rb b/lib/irb/init.rb
index d883b78..b306fbd 100644
--- a/lib/irb/init.rb
+++ b/lib/irb/init.rb
@@ -13,7 +13,7 @@
module IRB
# initialize config
- def IRB.initialize(ap_path)
+ def IRB.setup(ap_path)
IRB.init_config(ap_path)
IRB.init_error
IRB.parse_opts