Module: ActiveAdmin::Deprecation
- Defined in:
- lib/active_admin/deprecation.rb
Class Method Summary collapse
Class Method Details
.deprecator ⇒ Object
:nodoc:
5 6 7 |
# File 'lib/active_admin/deprecation.rb', line 5 def deprecator # :nodoc: @deprecator ||= ActiveSupport::Deprecation.new end |
.warn(message, callstack = caller) ⇒ Object
9 10 11 |
# File 'lib/active_admin/deprecation.rb', line 9 def warn(, callstack = caller) deprecator.warn "Active Admin: #{}", callstack end |