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