bin/rubmat in RubMat-2.2.0 vs bin/rubmat in RubMat-2.2.1

- old
+ new

@@ -1,15 +1,19 @@ #!/usr/bin/env ruby -# AUTHOR: Mahmut Bulut require 'rubygems' require 'bundler/setup' +Dir[File.dirname(__FILE__) + '/lib/*.rb'].each {|file| require file } -require 'lib/librbdiscrete' -require 'lib/fixnumexpand' -require 'commander' -require 'lib/help' +# AUTHOR: Mahmut Bulut +#$LOAD_PATH.unshift File.dirname(__FILE__) +#require File.dirname(__FILE__) + '/lib/librbdiscrete.rb' +#require File.expand_path(File.join(File.dirname(__FILE__))) +#require 'librbdiscrete' +#require 'fixnumexpand' +#require 'commander' +#require 'help' puts "===RubMat=== Copyright (C) <2011> <Mahmut Bulut> This program comes with ABSOLUTELY NO WARRANTY; for details type 'help'. This is free software, and you are welcome to redistribute it @@ -120,6 +124,6 @@ if (command == 'uipow') base = ask("Enter base value: ", Integer) exp = ask("Enter power value: ", Integer) puts ui_pow(base, exp) end -end until(command == 'exit') \ No newline at end of file +end until(command == 'exit')