Class: Proscenium::Deprecator
Instance Method Summary collapse
Instance Method Details
#deprecation_warning(name, message, _caller_backtrace = nil) ⇒ Object
27 28 29 30 31 |
# File 'lib/proscenium.rb', line 27 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 |