home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 December (Special) / PCWorld_2005-12_Special_cd.bin / Bezpecnost / lsti / lsti.exe / framework-2.5.exe / irb < prev    next >
Text File  |  2005-01-18  |  346b  |  22 lines

  1. #!/usr/bin/ruby
  2. #
  3. #   irb.rb - intaractive ruby
  4. #       $Release Version: 0.7.3 $
  5. #       $Revision: 1.2 $
  6. #       $Date: 2002/11/19 02:00:18 $
  7. #       by Keiju ISHITSUKA(keiju@ishitsuka.com)
  8. #
  9.  
  10. require "irb"
  11.  
  12. if __FILE__ == $0
  13.   IRB.start(__FILE__)
  14. else
  15.   # check -e option
  16.   if /^-e$/ =~ $0
  17.     IRB.start(__FILE__)
  18.   else
  19.     IRB.setup(__FILE__)
  20.   end
  21. end
  22.