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



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

def method_name
  @method_name
end

#objectObject

Returns the value of attribute object

Returns:

  • (Object)

    the current value of object



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

def object
  @object
end

#original_methodObject

Returns the value of attribute original_method

Returns:

  • (Object)

    the current value of original_method



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

def original_method
  @original_method
end