Fix some rubocop style issues (#5730)

This commit is contained in:
Eugen Rochko
2017-11-17 02:06:26 +01:00
committed by Yamagishi Kazutoshi
parent 2151fd3150
commit 3e90987c8b
7 changed files with 10 additions and 9 deletions

View File

@ -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 = []