From 1806193619f69e75aee35633e3723dfc7b9554d2 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 3 Jul 2015 17:34:12 +0200 Subject: [PATCH] Applied rubocop cop 'Style/RedundantReturn'. --- lib/tweet.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/tweet.rb b/lib/tweet.rb index 9a6df4c03..abffd60e5 100644 --- a/lib/tweet.rb +++ b/lib/tweet.rb @@ -40,8 +40,7 @@ class Tweet Rails.logger.error "Twitter (#{tweet.id}): unknown user source" - return - end + end def to_user(tweet)