Sha256: 6dda6b70c3261b54cb12397ec11a8d4d38981a09c602e5ac18fd468839479cb9
Contents?: true
Size: 296 Bytes
Versions: 2
Compression:
Stored size: 296 Bytes
Contents
class PgExport module Roles module ColourableString refine String do def red "\e[31m#{self}\e[0m" end def green "\e[0;32;49m#{self}\e[0m" end def gray "\e[37m#{self}\e[0m" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pg_export-0.6.1 | lib/pg_export/roles/colourable_string.rb |
pg_export-0.6.0 | lib/pg_export/roles/colourable_string.rb |