rubyx/lib/virtual/slots/frame_slot.rb
2015-10-06 15:26:57 +03:00

23 lines
443 B
Ruby

module Virtual
# Slots in the Frame a re represented by instances of FrameSlot
# Slots in the Frame are local or temporary variables in a message
class FrameSlot < Slot
def initialize index , type , value = nil
super(type, value)
@index = index
end
attr_reader :index
def to_s
"#{self.class.name}.new(#{index} , #{type}, #{value})"
end
def object_name
return :frame
end
end
end