Fix some rubocop style issues (#5730)
This commit is contained in:
parent
2151fd3150
commit
3e90987c8b
7 changed files with 10 additions and 9 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue