renames SelfSlot to SelfsSlot
in the hope to make a little more distinction
This commit is contained in:
@ -8,12 +8,12 @@ module Virtual
|
||||
# (and slots in the next_message by instances of NewSelf)
|
||||
#
|
||||
# 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
|
||||
# If self is an Object one can refer to it's instance variables as Slots in SelfsSlot
|
||||
#
|
||||
# In Summary: class Self represents the self object and SelfSlot instances variables of
|
||||
# In Summary: class Self represents the self object and SelfsSlot instances variables of
|
||||
# that object
|
||||
#
|
||||
class SelfSlot < Slot
|
||||
class SelfsSlot < Slot
|
||||
def initialize index , type , value = nil
|
||||
@index = index
|
||||
super( type , value )
|
@ -8,7 +8,7 @@ module Virtual
|
||||
# Four known objects exist and those correspond to subclasses:
|
||||
# - the message that has been received: MessageSlot
|
||||
# - the frame of the method that is executing (local variables): FrameSlot
|
||||
# - self as an object: SelfSlot
|
||||
# - self as an object: SelfsSlot
|
||||
# - a message that will be sent, NewMessageSlot
|
||||
|
||||
# additionally frame, self and return are slots in Message and NewMessage
|
||||
@ -41,6 +41,6 @@ module Virtual
|
||||
end
|
||||
|
||||
require_relative "message_slot"
|
||||
require_relative "self_slot"
|
||||
require_relative "selfs_slot"
|
||||
require_relative "frame_slot"
|
||||
require_relative "new_message_slot"
|
||||
|
Reference in New Issue
Block a user