Class: Proscenium::Deprecator
Instance Method Summary collapse
Instance Method Details
#deprecation_warning(name, message, _caller_backtrace = nil) ⇒ Object
49 50 51 52 53 |
# File 'lib/proscenium.rb', line 49 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 |