Class: RecursiveSpy::MethodInvocation

Inherits:
Object
  • Object
show all
Defined in:
lib/recursive_spy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argsObject (readonly)

Returns the value of attribute args.



19
20
21
# File 'lib/recursive_spy.rb', line 19

def args
  @args
end

#valueObject (readonly)

Returns the value of attribute value.



19
20
21
# File 'lib/recursive_spy.rb', line 19

def value
  @value
end