2019-08-26 08:24:06 +02:00
|
|
|
module Vool
|
2019-09-11 19:17:43 +02:00
|
|
|
module Macro
|
2019-08-26 08:24:06 +02:00
|
|
|
def self.boot_methods(options)
|
|
|
|
return if options[:boot_methods] == false
|
|
|
|
load_builtin( :int_plus )
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.load_builtin(name)
|
|
|
|
fname = "./builtin/#{name}.rb"
|
|
|
|
File.read File.expand_path(fname, File.dirname(__FILE__))
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|