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, #to_h

Instance Attribute Details

#method_nameObject

Returns the value of attribute method_name


4
5
6
# File 'lib/active_support/testing/time_helpers.rb', line 4

def method_name
  @method_name
end

#objectObject

Returns the value of attribute object


4
5
6
# File 'lib/active_support/testing/time_helpers.rb', line 4

def object
  @object
end

#original_methodObject

Returns the value of attribute original_method


4
5
6
# File 'lib/active_support/testing/time_helpers.rb', line 4

def original_method
  @original_method
end