Module: RuboCop::Packs
- Extended by:
- T::Sig
- Defined in:
- lib/rubocop/packs.rb,
lib/rubocop/packs/inject.rb,
lib/rubocop/packs/private.rb,
lib/rubocop/packs/private/offense.rb,
lib/rubocop/packs/private/configuration.rb
Defined Under Namespace
Modules: Inject
Class Method Summary collapse
Class Method Details
.bust_cache! ⇒ Object
16 17 18 19 |
# File 'lib/rubocop/packs.rb', line 16 def self.bust_cache! config.bust_cache! Private.bust_cache! end |
.config ⇒ Object
27 28 29 30 |
# File 'lib/rubocop/packs.rb', line 27 def self.config Private.load_client_configuration @config ||= T.let(Private::Configuration.new, T.nilable(Private::Configuration)) end |
.configure {|config| ... } ⇒ Object
22 23 24 |
# File 'lib/rubocop/packs.rb', line 22 def self.configure(&blk) yield(config) end |