mirror of
https://github.com/PeterCamilleri/fOOrth
synced 2024-11-16 07:47:56 +01:00
18 lines
323 B
Ruby
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
|