Class: RuboCop::Packs::Private::Configuration
- Inherits:
-
Object
- Object
- RuboCop::Packs::Private::Configuration
- Extended by:
- T::Sig
- Defined in:
- lib/rubocop/packs/private/configuration.rb
Instance Attribute Summary collapse
-
#globally_permitted_namespaces ⇒ Object
Returns the value of attribute globally_permitted_namespaces.
Instance Method Summary collapse
- #bust_cache! ⇒ Object
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 |
# File 'lib/rubocop/packs/private/configuration.rb', line 14 def initialize @globally_permitted_namespaces = T.let([], T::Array[String]) end |
Instance Attribute Details
#globally_permitted_namespaces ⇒ Object
Returns the value of attribute globally_permitted_namespaces.
11 12 13 |
# File 'lib/rubocop/packs/private/configuration.rb', line 11 def globally_permitted_namespaces @globally_permitted_namespaces end |
Instance Method Details
#bust_cache! ⇒ Object
19 20 21 |
# File 'lib/rubocop/packs/private/configuration.rb', line 19 def bust_cache! @globally_permitted_namespaces = [] end |