method
run_rotations
v6.1.3.1 -
Show latest stable
- Class:
ActiveSupport::Messages::Rotator
run_rotations(on_rotation)private
No documentation available.
# 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