Class: Impersonator::MethodInvocation

Inherits:
Struct
  • Object
show all
Defined in:
lib/impersonator/method_invocation.rb

Overview

A method invocation groups a method instance and a return value

Instance Attribute Summary collapse

Instance Attribute Details

#method_instanceObject

Returns the value of attribute method_instance

Returns:

  • (Object)

    the current value of method_instance



3
4
5
# File 'lib/impersonator/method_invocation.rb', line 3

def method_instance
  @method_instance
end

#return_valueObject

Returns the value of attribute return_value

Returns:

  • (Object)

    the current value of return_value



3
4
5
# File 'lib/impersonator/method_invocation.rb', line 3

def return_value
  @return_value
end