class RuboCop::Cop::Naming::InclusiveLanguage
def scan_for_words(input)
def scan_for_words(input) mask_input(input).enum_for(:scan, @flagged_terms_regex).map do match = Regexp.last_match WordLocation.new(match.to_s, match.offset(0).first) end end
def scan_for_words(input) mask_input(input).enum_for(:scan, @flagged_terms_regex).map do match = Regexp.last_match WordLocation.new(match.to_s, match.offset(0).first) end end