Class: Object

Inherits:
BasicObject
Defined in:
lib/jirametrics/exporter.rb

Instance Method Summary collapse

Instance Method Details

#deprecated(message:, date:) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/jirametrics/exporter.rb', line 6

def deprecated message:, date:
  text = +''
  text << "Deprecated(#{date}):"
  text << message
  text << "\n-> Called from #{caller(1..1).first}"
  warn text
end