class RuboCop::Cop::Style::FormatStringToken
def collect_detections(node)
def collect_detections(node) detections = [] tokens(node) do |detected_sequence, token_range| unless unannotated_format?(node, detected_sequence.style) detections << [detected_sequence, token_range] end end detections end