Class: Hanami::Utils::Deprecation
- Defined in:
- gems/gems/hanami-utils-2.2.0.beta1/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 |