Class: Proscenium::Deprecator
Instance Method Summary collapse
Instance Method Details
#deprecation_warning(name, message, _caller_backtrace = nil) ⇒ Object
40 41 42 43 44 |
# File 'lib/proscenium.rb', line 40 def deprecation_warning(name, , _caller_backtrace = nil) msg = "`#{name}` is deprecated and will be removed in a near future release of Proscenium" msg << " (#{})" if Kernel.warn msg end |