module GemHadar::Warn
def fail(*msgs)
-
(void)
-
Parameters:
-
msgs
(Array
) -- the array of message objects to display as failures
def fail(*msgs) msgs.map! do |a| a.respond_to?(:to_str) ? color(196) { a.to_str } : a end super(*msgs) end
def warn(*msgs)
-
msgs
(Array
) -- the array of message strings to display as warnings
def warn(*msgs) msgs.map! do |a| a.respond_to?(:to_str) ? color(208) { a.to_str } : a end super(*msgs, uplevel: 1) end