assembling layout
This commit is contained in:
parent
13ab029cc5
commit
575d19cb02
@ -17,7 +17,6 @@ module Parfait
|
|||||||
super()
|
super()
|
||||||
@name = name
|
@name = name
|
||||||
@instance_methods = List.new_object
|
@instance_methods = List.new_object
|
||||||
@name = name
|
|
||||||
@super_class = superclass
|
@super_class = superclass
|
||||||
@meta_class = nil#MetaClass.new(self)
|
@meta_class = nil#MetaClass.new(self)
|
||||||
end
|
end
|
||||||
@ -35,7 +34,7 @@ module Parfait
|
|||||||
@instance_methods.each do |method|
|
@instance_methods.each do |method|
|
||||||
names.push method.name
|
names.push method.name
|
||||||
end
|
end
|
||||||
names
|
names
|
||||||
end
|
end
|
||||||
|
|
||||||
def add_instance_method method
|
def add_instance_method method
|
||||||
|
@ -171,6 +171,9 @@ module Register
|
|||||||
array.position
|
array.position
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def assemble_Layout layout
|
||||||
|
assemble_object(layout)
|
||||||
|
end
|
||||||
def assemble_Dictionary hash
|
def assemble_Dictionary hash
|
||||||
# so here we can be sure to have _identical_ keys/values arrays
|
# so here we can be sure to have _identical_ keys/values arrays
|
||||||
assemble_object( hash , [ hash.keys , hash.values ] )
|
assemble_object( hash , [ hash.keys , hash.values ] )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user