rubyx/lib/register/builtin/object.rb
Torsten Ruger 7e0778dc70 remove return_type
soon to be obsolete with multi returns
2015-10-28 12:19:10 +02:00

22 lines
443 B
Ruby

module Register
module Builtin
class Object
module ClassMethods
# main entry point, ie __init__ calls this
# defined here as empty, to be redefined
def main context
function = MethodSource.create_method(:Object , :main , [])
return function
end
end
extend ClassMethods
end
end
end
require_relative "integer"
require_relative "kernel"
require_relative "word"