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