class Hbtrack::DoneUndoneSF

Public Instance Methods

format(hash) click to toggle source

Format in terms of the count of done and undone. @param hash [Hash] @option hash [String] :done total of done @option hash [String] :undone total of undone @return [String] formatted result

# File lib/hbtrack/stat_formatter.rb, line 12
def format(hash)
  Util.green("Done: #{hash[:done]}") + "\n" +
    Util.red("Undone: #{hash[:undone]}")
end