17 lines
281 B
Ruby
17 lines
281 B
Ruby
module Virtual
|
|
|
|
class MessageSend < Instruction
|
|
def initialize name , me , args = []
|
|
@name = name.to_sym
|
|
@me = me
|
|
@args = args
|
|
end
|
|
attr_reader :name , :me , :args
|
|
|
|
def to_s
|
|
"MessageSend.new(:#{name} , #{me} , #{args})"
|
|
end
|
|
end
|
|
|
|
end
|