Sha256: c0cca910de9f21019cd2be67e714212cbda0de4796ca1cd38718345def43b4b9
Contents?: true
Size: 324 Bytes
Versions: 2
Compression:
Stored size: 324 Bytes
Contents
module Phase module CLI module Mixins 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.5 | lib/phase/cli/mixins/loggable.rb |
phase-0.0.4 | lib/phase/cli/mixins/loggable.rb |