about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-11-17 02:06:26 +0100
committerYamagishi Kazutoshi <ykzts@desire.sh>2017-11-17 10:06:26 +0900
commit3e90987c8b0c620b6fc104350b8eb16d17d7e80a (patch)
treef9543483601434d0980c2829606c2aa45861c4ac /app/lib
parent2151fd315023a7f6849c6c9a519cd01deac09aa1 (diff)
Fix some rubocop style issues (#5730)
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/extractor.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lib/extractor.rb b/app/lib/extractor.rb
index 957364293..738ec89a0 100644
--- a/app/lib/extractor.rb
+++ b/app/lib/extractor.rb
@@ -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 = []