rubyx/lib/virtual/instructions/message_send.rb
2015-08-04 21:46:33 +03:00

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