Class: Reac::Call
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#data ⇒ Object
Returns the value of attribute data.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#receiver ⇒ Object
readonly
Returns the value of attribute receiver.
Attributes inherited from Reac
Instance Method Summary collapse
-
#initialize(receiver, method, args) ⇒ Call
constructor
A new instance of Call.
Methods inherited from Reac
#method_missing, #value, value
Constructor Details
#initialize(receiver, method, args) ⇒ Call
Returns a new instance of Call.
61 62 63 |
# File 'lib/reac.rb', line 61 def initialize(receiver, method, args) @receiver, @method, @args = receiver, method, args end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Reac
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
65 66 67 |
# File 'lib/reac.rb', line 65 def args @args end |
#data ⇒ Object
Returns the value of attribute data.
64 65 66 |
# File 'lib/reac.rb', line 64 def data @data end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
65 66 67 |
# File 'lib/reac.rb', line 65 def method @method end |
#receiver ⇒ Object (readonly)
Returns the value of attribute receiver.
65 66 67 |
# File 'lib/reac.rb', line 65 def receiver @receiver end |