Class: ActiveSupport::Testing::SimpleStubs::Stub

Inherits:
Struct show all
Defined in:
lib/active_support/testing/time_helpers.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#method_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



11
12
13
# File 'lib/active_support/testing/time_helpers.rb', line 11

def method_name
  @method_name
end

#objectObject

Returns the value of attribute object

Returns:

  • (Object)

    the current value of object



11
12
13
# File 'lib/active_support/testing/time_helpers.rb', line 11

def object
  @object
end

#original_methodObject

Returns the value of attribute original_method

Returns:

  • (Object)

    the current value of original_method



11
12
13
# File 'lib/active_support/testing/time_helpers.rb', line 11

def original_method
  @original_method
end