Module: ActiveSupport::Deprecation
- Defined in:
- lib/roxml/extensions/deprecation.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#deprecation_message(callstack, message = nil) ⇒ Object
10 11 12 13 |
# File 'lib/roxml/extensions/deprecation.rb', line 10 def (callstack, = nil) ||= "You are using deprecated behavior which will be removed from the next major or minor release" "DEPRECATION WARNING: #{}. #{(callstack)}" end |