method
rotate
rails latest stable - Class:
ActiveSupport::Messages::RotationCoordinator
rotate(**options, &block)public
No documentation available.
# File activesupport/lib/active_support/messages/rotation_coordinator.rb, line 26
def rotate(**options, &block)
raise ArgumentError, "Options cannot be specified when using a block" if block && !options.empty?
changing_configuration!
@rotate_options << (block || options)
self
end