class Renegade::Status
Report statuses
Public Class Methods
hook_start(hook)
click to toggle source
# File lib/renegade/status.rb, line 40 def self.hook_start(hook) puts "\n" + "Running #{hook} hooks…".status end
report(label, passed, warning = nil)
click to toggle source
Report labels
# File lib/renegade/status.rb, line 30 def self.report(label, passed, warning = nil) if passed puts label.success elsif warning puts label.warning else puts label.error end end