Class: RuboCop::Packs::Private::Configuration

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/rubocop/packs/private/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_namespacesObject

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