class RuboCop::Cop::SketchupRequirements::RubyCoreNamespace

Extensions in SketchUp all share the same Ruby environment on the user's machine. Because of this it's important that each extension isolate itself to avoid clashing with other extensions.

Extensions submitted to Extension Warehouse is expected to not modify core Ruby functionality.

Constants

MSG
NAMESPACES
NAMESPACES_RUBY_186

We check only against the top level namespaces. The core define more objects, but they are under one of the top level namespaces listed.

NAMESPACES_RUBY_200
NAMESPACES_RUBY_220

Public Instance Methods

namespaces() click to toggle source
# File lib/rubocop/sketchup/cop/requirements/ruby_core_namespace.rb, line 284
def namespaces
  NAMESPACES
end