Method: ActiveSupport::Messages::RotationCoordinator#on_rotation
- Defined in:
- lib/active_support/messages/rotation_coordinator.rb
#on_rotation(&callback) ⇒ Object
45 46 47 48 |
# File 'lib/active_support/messages/rotation_coordinator.rb', line 45 def on_rotation(&callback) changing_configuration! @on_rotation = callback end |