Class: Fairy::Atom
- Inherits:
-
Object
- Object
- Fairy::Atom
- Defined in:
- lib/fairy/master/atom.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#receiver ⇒ Object
readonly
Returns the value of attribute receiver.
Instance Method Summary collapse
-
#initialize(receiver, message, *args) ⇒ Atom
constructor
A new instance of Atom.
Constructor Details
#initialize(receiver, message, *args) ⇒ Atom
Returns a new instance of Atom.
6 7 8 9 10 |
# File 'lib/fairy/master/atom.rb', line 6 def initialize(receiver, , *args) @receiver = receiver @message = @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
12 13 14 |
# File 'lib/fairy/master/atom.rb', line 12 def args @args end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
12 13 14 |
# File 'lib/fairy/master/atom.rb', line 12 def @message end |
#receiver ⇒ Object (readonly)
Returns the value of attribute receiver.
12 13 14 |
# File 'lib/fairy/master/atom.rb', line 12 def receiver @receiver end |