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
3 4 5 6 |
# File 'lib/nuntius/deprecator.rb', line 3 def deprecation_warning(deprecated_method_name, , _caller_backtrace = nil) = "#{deprecated_method_name} is deprecated and will be removed from Nuntius | #{}" Kernel.warn end |