Sha256: 7ad1d1440589ae2e006470188358b40f6fe6741ce8d43ac444c1547c67811904
Contents?: true
Size: 207 Bytes
Versions: 2
Compression:
Stored size: 207 Bytes
Contents
module Edge class Console def colorize(text, color_code) "\033[#{color_code}m#{text}\033[0m" end def red(text); colorize(text, 31); end def green(text); colorize(text, 32); end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
edge_framework-0.0.3 | lib/edge/console.rb |
edge_framework-0.0.2 | lib/edge/console.rb |