Method: ActiveSupport::Messages::RotationCoordinator#rotate
- Defined in:
- lib/active_support/messages/rotation_coordinator.rb
#rotate(**options, &block) ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/active_support/messages/rotation_coordinator.rb', line 26 def rotate(**, &block) raise ArgumentError, "Options cannot be specified when using a block" if block && !.empty? changing_configuration! @rotate_options << (block || ) self end |