module Formatter

Public Instance Methods

bold(text) click to toggle source
# File lib/formatter.rb, line 2
def bold(text)
  "\033[1m#{text}\e[0m"
end
red(text) click to toggle source
# File lib/formatter.rb, line 6
def red(text)
  "\e[1;31m#{text}\e[0m"
end