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