rubyx/lib/virtual/slots/new_message_slot.rb

26 lines
577 B
Ruby
Raw Normal View History

2015-05-06 07:38:29 +02:00
module Virtual
class NewMessageSlot < Slot
def initialize index , type = Unknown, value = nil
2015-05-06 07:38:29 +02:00
super(index , type , value )
end
end
class NewReturn < NewMessageSlot
def initialize type = Unknown, value = nil
2015-05-06 07:38:29 +02:00
super( MESSAGE_RETURN_VALUE, type , value )
end
end
class NewSelf < NewMessageSlot
def initialize type = Unknown, value = nil
2015-05-06 07:38:29 +02:00
super( MESSAGE_SELF , type , value )
end
end
class NewName < NewMessageSlot
def initialize type = Unknown, value = nil
2015-05-06 07:38:29 +02:00
super( MESSAGE_NAME, type , value )
end
end
end