Sha256: 45de3da3911507d5c8bc03b84f0505e7d488fb503f1afc8440b6e88e2bda22d2
Contents?: true
Size: 749 Bytes
Versions: 9
Compression:
Stored size: 749 Bytes
Contents
# ========================================================================== # Project: Spade - CommonJS Runtime # Copyright: ©2010 Strobe Inc. All rights reserved. # License: Licened under MIT license (see LICENSE) # ========================================================================== module Spade class Console def debug(*args) puts "\033[35mDEBUG: #{args * ','}\033[m" nil end def info(*args) puts args * ',' nil end def error(*args) puts "\033[31mERROR: #{args * ','}\033[m" nil end def warn(*args) puts "\033[33mWARN: #{args * ','}\033[m" nil end def log(*args) puts args * ',' nil end end end
Version data entries
9 entries across 9 versions & 1 rubygems