Class: RecursiveSpy::MethodInvocation
- Inherits:
-
Object
- Object
- RecursiveSpy::MethodInvocation
- Defined in:
- lib/recursive_spy.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, args) ⇒ MethodInvocation
constructor
A new instance of MethodInvocation.
Constructor Details
#initialize(value, args) ⇒ MethodInvocation
Returns a new instance of MethodInvocation.
20 21 22 23 |
# File 'lib/recursive_spy.rb', line 20 def initialize(value, args) @value = value @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
19 20 21 |
# File 'lib/recursive_spy.rb', line 19 def args @args end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
19 20 21 |
# File 'lib/recursive_spy.rb', line 19 def value @value end |