#!/usr/local/bin/ruby
#
#   irb.rb - intaractive ruby
#   	$Release Version: 0.6 $
#   	$Revision: 1.1 $
#   	$Date: 1999/03/05 03:11:33 $
#   	by Keiju ISHITSUKA(Nippon Rational Inc.)
#
# --
# Usage:
#
#   irb.rb [options] file_name opts
#
#       Refer README about details of using irb .
#	(JP: $B>\$7$/$O(BREADME$B$r;2>H$7$F2<$5$$(B.)
#

require "irb/main"

if __FILE__ == $0
  IRB.start(__FILE__)
else
  # check -e option
  tmp = ENV["TMP"] || ENV["TMPDIR"] || "/tmp"
  if %r|#{tmp}/rb| =~ $0
    IRB.start(__FILE__)
  else
    IRB.initialize(__FILE__)
  end
end
