diff --git a/lib/parfait/module.rb b/lib/parfait/module.rb index 1e4aadec..902acbb6 100644 --- a/lib/parfait/module.rb +++ b/lib/parfait/module.rb @@ -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 diff --git a/lib/register/assembler.rb b/lib/register/assembler.rb index 01b8d6fc..2903eee2 100644 --- a/lib/register/assembler.rb +++ b/lib/register/assembler.rb @@ -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 ] )