rename Mystery

just unknown, mystery should be more difficult to find out.
After all we keep run time info, so just need unknown at compile time
This commit is contained in:
Torsten Ruger
2015-06-11 07:04:14 +02:00
parent d8fa266b5d
commit ee6f9d733b
9 changed files with 24 additions and 23 deletions

View File

@ -1,26 +1,26 @@
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
def initialize index , type = Unknown , value = nil
super(index ,type , value )
end
end
class Return < MessageSlot
def initialize type = Mystery, value = nil
def initialize type = Unknown, value = nil
super( MESSAGE_RETURN_VALUE , type , value )
end
end
class Self < MessageSlot
def initialize type = Mystery, value = nil
def initialize type = Unknown, value = nil
super( MESSAGE_SELF , type , value )
end
end
# Name of the current message
class Name < MessageSlot
def initialize type = Mystery, value = nil
def initialize type = Unknown, value = nil
super( MESSAGE_NAME , type , value )
end
end

View File

@ -1,24 +1,24 @@
module Virtual
class NewMessageSlot < Slot
def initialize index , type = Mystery, value = nil
def initialize index , type = Unknown, value = nil
super(index , type , value )
end
end
class NewReturn < NewMessageSlot
def initialize type = Mystery, value = nil
def initialize type = Unknown, value = nil
super( MESSAGE_RETURN_VALUE, type , value )
end
end
class NewSelf < NewMessageSlot
def initialize type = Mystery, value = nil
def initialize type = Unknown, value = nil
super( MESSAGE_SELF , type , value )
end
end
class NewName < NewMessageSlot
def initialize type = Mystery, value = nil
def initialize type = Unknown, value = nil
super( MESSAGE_NAME, type , value )
end
end

View File

@ -42,13 +42,13 @@ module Virtual
end
class FrameSlot < Slot
def initialize index , type = Mystery, value = nil
def initialize index , type = Unknown, value = nil
super
end
end
class SelfSlot < Slot
def initialize index , type = Mystery, value = nil
def initialize index , type = Unknown, value = nil
super
end
end