Class: Uncruft::DeprecationHandler
- Inherits:
-
Object
- Object
- Uncruft::DeprecationHandler
- Defined in:
- lib/uncruft/deprecation_handler.rb
Instance Method Summary collapse
Instance Method Details
#arity ⇒ Object
11 12 13 |
# File 'lib/uncruft/deprecation_handler.rb', line 11 def arity 2 end |
#call(message, _callstack) ⇒ Object
5 6 7 8 9 |
# File 'lib/uncruft/deprecation_handler.rb', line 5 def call(, _callstack) line_number = line_number() = () handle_unknown_deprecation!(, line_number) unless known_deprecations.include?() end |