externalize boot process

Booting is complicated, make an own file for it
This commit is contained in:
Torsten Ruger
2015-05-19 20:29:33 +03:00
parent 4e3640e432
commit 8ec8a519ba
5 changed files with 122 additions and 82 deletions

View File

@ -17,8 +17,13 @@ module Parfait
def initialize name , super_class = nil
super( name , super_class)
# class methods
@object_layout = Layout.new_object
# the layout for this class (class = object of type Class) carries the class
# as an instance. The relation is from an object through the Layout to it's class
@object_layout = Layout.new_object(self)
end
def allocate_object
#space, and ruby allocate
end
def add_instance_name name