Fix some rubocop style issues (#5730)
This commit is contained in:
committed by
Yamagishi Kazutoshi
parent
2151fd3150
commit
3e90987c8b
@ -5,7 +5,8 @@ module Extractor
|
||||
|
||||
module_function
|
||||
|
||||
def extract_mentions_or_lists_with_indices(text) # :yields: username, list_slug, start, end
|
||||
# :yields: username, list_slug, start, end
|
||||
def extract_mentions_or_lists_with_indices(text)
|
||||
return [] unless text =~ Twitter::Regex[:at_signs]
|
||||
|
||||
possible_entries = []
|
||||
|
Reference in New Issue
Block a user