method
run_rotations
v6.0.0 -
Show latest stable
- Class:
ActiveSupport::Messages::Rotator
run_rotations(on_rotation)private
No documentation available.
# File activesupport/lib/active_support/messages/rotator.rb, line 46
def run_rotations(on_rotation)
@rotations.find do |rotation|
if message = yield(rotation) rescue next
on_rotation.call if on_rotation
return message
end
end
end