Method: Primer::ViewComponents.deprecation
- Defined in:
- lib/primer/view_components.rb
permalink .deprecation ⇒ Object
:nocov:
21 22 23 24 25 26 27 28 29 30 |
# File 'lib/primer/view_components.rb', line 21 def self.deprecation @deprecation ||= if Rails.application.respond_to?(:deprecators) Rails.application.deprecators[:primer_view_components] ||= ActiveSupport::Deprecation.new( DEPRECATION_HORIZON, "primer_view_components" ) else ActiveSupport::Deprecation.instance end end |