Class: Industrialist::WarningHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/industrialist/warning_helper.rb

Class Method Summary collapse

Class Method Details

.warning(message) ⇒ Object



3
4
5
# File 'lib/industrialist/warning_helper.rb', line 3

def self.warning(message)
  warn("#{caller(3..3).first}: #{message}")
end