method

prepend

rails latest stable - Class: ActiveSupport::Messages::RotationCoordinator

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

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