make RuboCop happy

This commit is contained in:
Arpit Jalan 2018-07-17 13:15:44 +05:30
parent 7c7509e1bd
commit a7ec949e02
1 changed files with 1 additions and 1 deletions

View File

@ -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)