fOOrth/irbt.rb
2016-08-30 11:07:11 -04:00

18 lines
323 B
Ruby

# coding: utf-8
# An IRB + fOOrth Test bed
require 'irb'
puts "Starting an IRB console with fOOrth loaded."
if ARGV[0] == 'local'
require_relative 'lib/fOOrth'
puts "fOOrth loaded locally: #{XfOOrth::VERSION}"
ARGV.shift
else
require 'fOOrth'
puts "fOOrth loaded from gem: #{XfOOrth::VERSION}"
end
IRB.start