module GemHadar::Warn

def warn(*msgs)

Parameters:
  • 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