Class: Hanami::Utils::Deprecation
- Inherits:
-
Object
- Object
- Hanami::Utils::Deprecation
- Defined in:
- gems/gems/hanami-utils-1.3.3/lib/hanami/utils/deprecation.rb,
gems/gems/hanami-utils-1.3.8/lib/hanami/utils/deprecation.rb
Overview
Prints a deprecation warning when initialized
Instance Method Summary collapse
-
#initialize(message) ⇒ Deprecation
constructor
Initialize a deprecation message and prints it to standard error.
Constructor Details
#initialize(message) ⇒ Deprecation
Initialize a deprecation message and prints it to standard error.
Source: | on GitHub
def initialize() ::Kernel.warn("#{} - called from: #{caller[caller_index]}.") end |