Skip to content

Instantly share code, notes, and snippets.

@jbodah
Created June 17, 2015 17:47
Show Gist options
  • Save jbodah/2780439680502b3e7001 to your computer and use it in GitHub Desktop.
Save jbodah/2780439680502b3e7001 to your computer and use it in GitHub Desktop.
printing color to teminal
# see http://ascii-table.com/ansi-escape-sequences.php
def alert(str)
puts "\e[36;1m***** #{str}\e[0m"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment