method

run_rotations

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Rotator
run_rotations(on_rotation) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/messages/rotator.rb, line 47
        def run_rotations(on_rotation)
          @rotations.find do |rotation|
            if message = yield(rotation) rescue next
              on_rotation&.call
              return message
            end
          end
        end
Register or log in to add new notes.