Skip to content

Commit

Permalink
Sort key count
Browse files Browse the repository at this point in the history
  • Loading branch information
Genki-S committed Dec 17, 2012
1 parent 1583c61 commit b6825c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vimentor/cli.rb
Expand Up @@ -44,7 +44,7 @@ def stat(date_str = Date.today.to_s)
say "Invoke: #{s.invoke_count} times"
say "Total key count: #{s.total_key_count}"
say "Key count hash:"
say s.key_count
say s.key_count.sort_by{|k, v| v}.reverse
end

end
Expand Down

0 comments on commit b6825c4

Please sign in to comment.