Class: RuboCop::Cop::SketchupRequirements::ApiNamespace

Inherits:
SketchUp::Cop
  • Object
show all
Includes:
SketchUp::NamespaceChecker, SketchUp::NoCommentDisable
Defined in:
lib/rubocop/sketchup/cop/requirements/api_namespace.rb

Constant Summary collapse

MSG =
'Do not modify the SketchUp API.'.freeze
NAMESPACES =
%w(
  Geom Layout Sketchup SketchupExtension UI
).freeze

Constants included from SketchUp::Config

SketchUp::Config::DEFAULT_CONFIGURATION

Instance Method Summary collapse

Methods included from SketchUp::NamespaceChecker

#check_namespace, #in_namespace?, #on_casgn, #on_class, #on_def, #on_module

Methods inherited from SketchUp::Cop

inherited, #relevant_file?

Instance Method Details

#namespacesObject



17
18
19
# File 'lib/rubocop/sketchup/cop/requirements/api_namespace.rb', line 17

def namespaces
  NAMESPACES
end