rubyx/lib/virtual/instructions/message_send.rb

17 lines
281 B
Ruby
Raw Normal View History

2015-05-06 07:55:14 +02:00
module Virtual
class MessageSend < Instruction
def initialize name , me , args = []
@name = name.to_sym
@me = me
@args = args
end
attr_reader :name , :me , :args
2015-08-04 20:46:33 +02:00
def to_s
"MessageSend.new(:#{name} , #{me} , #{args})"
end
2015-05-06 07:55:14 +02:00
end
end