diff options
author | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-18 17:43:20 +0000 |
---|---|---|
committer | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-11-18 17:43:20 +0000 |
commit | e2e96dde0375ed0c3ef20ed3457824d8a54c1d38 (patch) | |
tree | 057b9920f4f3907054a961de3e83be8f8c38138d /bin/irb | |
parent | a0049a72dca7464000e65da4cf4bf65752c3fc10 (diff) |
This commit was manufactured by cvs2svn to create branch 'ruby_1_6'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin/irb')
-rw-r--r-- | bin/irb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/irb b/bin/irb new file mode 100644 index 0000000000..58f3699139 --- /dev/null +++ b/bin/irb @@ -0,0 +1,21 @@ +#!/usr/bin/env ruby +# +# irb.rb - intaractive ruby +# $Release Version: 0.7.3 $ +# $Revision$ +# $Date$ +# by Keiju ISHITSUKA(keiju@ishitsuka.com) +# + +require "irb" + +if __FILE__ == $0 + IRB.start(__FILE__) +else + # check -e option + if /^-e$/ =~ $0 + IRB.start(__FILE__) + else + IRB.initialize(__FILE__) + end +end |