Method: ActiveSupport::Messages::Rotator#initialize

Defined in:
activesupport/lib/active_support/messages/rotator.rb

#initialize(*args, on_rotation: nil, **options) ⇒ Object



6
7
8
9
10
11
12
# File 'activesupport/lib/active_support/messages/rotator.rb', line 6

def initialize(*args, on_rotation: nil, **options)
  super(*args, **options)
  @args = args
  @options = options
  @rotations = []
  @on_rotation = on_rotation
end