metaclass moves down to object
This commit is contained in:
parent
204200b92a
commit
46e1a112ab
@ -33,10 +33,6 @@ module Parfait
|
||||
#space, and ruby allocate
|
||||
end
|
||||
|
||||
def meta
|
||||
get_layout
|
||||
end
|
||||
|
||||
def add_instance_name name
|
||||
self.object_layout.push name
|
||||
end
|
||||
|
@ -71,6 +71,11 @@ module Parfait
|
||||
return l
|
||||
end
|
||||
|
||||
# return the metaclass
|
||||
def meta
|
||||
MetaClass.new self
|
||||
end
|
||||
|
||||
def get_instance_variables
|
||||
get_layout().instance_names
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user