module ActiveSupport::Messages::Rotator
def run_rotations(on_rotation)
def run_rotations(on_rotation) @rotations.find do |rotation| if message = yield(rotation) rescue next on_rotation&.call return message end end end
def run_rotations(on_rotation) @rotations.find do |rotation| if message = yield(rotation) rescue next on_rotation&.call return message end end end