moved slots to own directory
This commit is contained in:
27
lib/virtual/slots/message_slot.rb
Normal file
27
lib/virtual/slots/message_slot.rb
Normal file
@ -0,0 +1,27 @@
|
||||
module Virtual
|
||||
# The message that is being processed has a layout as per the constant above
|
||||
class MessageSlot < Slot
|
||||
def initialize index , type = Mystery , value = nil
|
||||
super(index ,type , value )
|
||||
end
|
||||
end
|
||||
|
||||
class Return < MessageSlot
|
||||
def initialize type = Mystery, value = nil
|
||||
super( MESSAGE_RETURN_VALUE , type , value )
|
||||
end
|
||||
end
|
||||
|
||||
class Self < MessageSlot
|
||||
def initialize type = Mystery, value = nil
|
||||
super( MESSAGE_SELF , type , value )
|
||||
end
|
||||
end
|
||||
|
||||
# Name of the current message
|
||||
class Name < MessageSlot
|
||||
def initialize type = Mystery, value = nil
|
||||
super( MESSAGE_NAME , type , value )
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user