fOOrth/demo.rb

25 lines
556 B
Ruby
Raw Permalink Normal View History

# coding: utf-8
#This file contains a minimum host environment for running the fOOrth system.
2016-01-19 23:46:52 +01:00
if ARGV[0] == 'local'
require_relative 'lib/fOOrth'
puts "\nOption(local) Loaded fOOrth from the local code folder."
elsif defined?(XfOOrth)
puts "\nThe fOOrth system is already loaded."
else
begin
require 'fOOrth'
puts "\nLoaded fOOrth from the system gem."
rescue LoadError
2016-01-19 23:46:52 +01:00
require_relative 'lib/fOOrth'
puts "\nLoaded fOOrth from the local code folder."
end
end
2015-01-15 03:50:07 +01:00
puts
2015-08-14 17:08:35 +02:00
if __FILE__==$0
XfOOrth::main
end