Class: Nuntius::Deprecator
- Inherits:
-
Object
- Object
- Nuntius::Deprecator
- Defined in:
- lib/nuntius/deprecator.rb
Instance Method Summary collapse
Instance Method Details
#deprecation_warning(deprecated_method_name, message, _caller_backtrace = nil) ⇒ Object
5 6 7 8 |
# File 'lib/nuntius/deprecator.rb', line 5 def deprecation_warning(deprecated_method_name, , _caller_backtrace = nil) = "#{deprecated_method_name} is deprecated and will be removed from Nuntius | #{}" Kernel.warn end |