Module: Kentaa::Api::Deprecation

Defined in:
lib/kentaa/api/deprecation.rb

Class Method Summary collapse

Class Method Details

.warn(message, callstack = caller) ⇒ Object



8
9
10
# File 'lib/kentaa/api/deprecation.rb', line 8

def warn(message, callstack = caller)
  Kernel.warn("DEPRECATION WARNING: #{message} (called from #{callstack.first})")
end