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

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

Constant Summary collapse

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

Instance Method Summary collapse

Methods included from RuboCop::Cop::Sketchup::NamespaceChecker

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

Instance Method Details

#namespacesObject



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

def namespaces
  NAMESPACES
end