module Primer::ViewComponents
def self.deprecation
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
def self.root
def self.root Pathname(File.expand_path(File.join("..", ".."), __dir__)) end