module Xaases::Color
Public Class Methods
failure(s = nil)
click to toggle source
# File lib/xaases/cli/color.rb, line 15 def self.failure(s = nil) puts @@highline.color s || self, :red end
red(s = nil)
click to toggle source
# File lib/xaases/cli/color.rb, line 19 def self.red(s = nil) @@highline.color s || self, :red end
warn(s = nil)
click to toggle source
# File lib/xaases/cli/color.rb, line 7 def self.warn(s = nil) puts @@highline.color s || self, :yellow end
yellow(s = nil)
click to toggle source
# File lib/xaases/cli/color.rb, line 11 def self.yellow(s = nil) @@highline.color s || self, :yellow end