Sha256: f1739668ccfbc71a4d74cae105c7eb5cce63dceb1525e0b000f707a8b73290a9
Contents?: true
Size: 323 Bytes
Versions: 2
Compression:
Stored size: 323 Bytes
Contents
module Phase module CLI module Utils module Loggable def log(str) out = "[phase]".green out << " #{ str }" puts out end def fail!(str) out = "[phase]".red out << " #{ str }" abort out end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phase-0.0.2 | lib/phase/cli/utils/loggable.rb |
phase-0.0.1 | lib/phase/cli/utils/loggable.rb |