rubyx/lib/register/builtin/object.rb

22 lines
443 B
Ruby
Raw Normal View History

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
2014-08-28 15:44:27 +02:00
require_relative "integer"
2014-09-10 20:35:52 +02:00
require_relative "kernel"
require_relative "word"