Skip to content

A platform for community discussion. Free, open, simple.

make RuboCop happy

Arpit Jalana7ec949e02eb
diff --git a/lib/twitter_api.rb b/lib/twitter_api.rb
index a71ced28485..c36d4fc8a30 100644
--- a/lib/twitter_api.rb
+++ b/lib/twitter_api.rb
@@ -34,7 +34,7 @@ class TwitterApi
end
def prettify_number(count)
- number_to_human(count, :format => '%n%u', :precision => 2, :units => { :thousand => 'K', :million => 'M', :billion => 'B' })
+ number_to_human(count, format: '%n%u', precision: 2, units: { thousand: 'K', million: 'M', billion: 'B' })
end
def user_timeline(screen_name)