From 624699f8edbaaa5af3af5d9d1829dc6d0baf71cc Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Mon, 26 Oct 2015 15:14:38 +0200 Subject: [PATCH] minor --- lib/parfait/layout.rb | 2 +- lib/register/boot.rb | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/parfait/layout.rb b/lib/parfait/layout.rb index ca4e17d3..467a13a1 100644 --- a/lib/parfait/layout.rb +++ b/lib/parfait/layout.rb @@ -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 diff --git a/lib/register/boot.rb b/lib/register/boot.rb index bfd0eec8..9dbf2fb3 100644 --- a/lib/register/boot.rb +++ b/lib/register/boot.rb @@ -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]