Method: ActiveSupport::Testing::SimpleStubs#initialize

Defined in:
activesupport/lib/active_support/testing/time_helpers.rb

#initializeSimpleStubs

Returns a new instance of SimpleStubs.



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

def initialize
  @stubs = Hash.new { |h, k| h[k] = {} }
end