lib/hbtrack/stat_formatter.rb in hbtrack-0.0.7 vs lib/hbtrack/stat_formatter.rb in hbtrack-0.0.8

- old
+ new

@@ -34,10 +34,10 @@ # @option hash [String] :done total of done # @option hash [String] :undone total of undone # @return [String] formatted result def format(hash) percentage = to_percentage(hash)[:done] - sprintf('Completion rate: %.2f%', percentage) + sprintf("Completion rate: %.2f%%", percentage) end # Convert the value in the hash into percentage # @param hash [Hash] # @option hash [String] :done total of done