minor
This commit is contained in:
parent
55dd5f74fc
commit
624699f8ed
@ -33,8 +33,8 @@ module Parfait
|
||||
|
||||
def initialize( object_class )
|
||||
super()
|
||||
self.object_class = object_class
|
||||
add_instance_variable :layout
|
||||
self.object_class = object_class
|
||||
end
|
||||
|
||||
def == other
|
||||
|
@ -77,8 +77,7 @@ module Register
|
||||
end
|
||||
object_class = classes[:Object]
|
||||
# superclasses other than default object
|
||||
supers = { :BinaryCode => :Word , :Layout => :List ,
|
||||
:Object => :Kernel , :Kernel => :Value, :Integer => :Value }
|
||||
supers = { :Object => :Kernel , :Kernel => :Value, :Integer => :Value }
|
||||
layout_names.each do |classname , ivar|
|
||||
next if classname == :Value # has no superclass
|
||||
clazz = classes[classname]
|
||||
|
Loading…
Reference in New Issue
Block a user