small cleans

This commit is contained in:
Torsten Ruger
2015-09-27 12:59:26 +03:00
parent 6bdbfcde60
commit 964abe1e32
4 changed files with 10 additions and 6 deletions

View File

@ -7,16 +7,18 @@ module Virtual
# The slot in the Message is represented by instances of class Self
# (and slots in the next_message by instances of NewSelf)
#
# Additionally the current Self is represented as it's own top-level object.
# Additionally the current Self is represented as it's own top-level object.
# If self is an Object one can refer to it's instance variables as Slots in SelfSlot
#
# In Summary: class Self represents the self object and SelfSlot instances variables of
# that object
#
class SelfSlot < Slot
def initialize type , value = nil
super
def initialize index , type , value = nil
@index = index
super( type , value )
end
attr_reader :index
def object_name
:self
end