fOOrth/demo.rb
2015-08-14 11:21:00 -04:00

21 lines
420 B
Ruby

# coding: utf-8
#This file contains a minimum host environment for running the fOOrth system.
if defined?(XfOOrth)
puts "The fOOrth system is already loaded."
else
begin
require 'fOOrth'
puts "\nLoaded fOOrth from the system gem."
rescue LoadError
require './lib/fOOrth'
puts "\nLoaded fOOrth from the local code folder."
end
end
puts
if __FILE__==$0
XfOOrth::main
end