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

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

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



8
9
10
# File 'lib/active_support/testing/time_helpers.rb', line 8

def method_name
  @method_name
end

#objectObject

Returns the value of attribute object

Returns:

  • (Object)

    the current value of object



8
9
10
# File 'lib/active_support/testing/time_helpers.rb', line 8

def object
  @object
end

#original_methodObject

Returns the value of attribute original_method

Returns:

  • (Object)

    the current value of original_method



8
9
10
# File 'lib/active_support/testing/time_helpers.rb', line 8

def original_method
  @original_method
end