class RuboCop::Cop::SketchupRequirements::RubyStdLibNamespace
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 Ruby StdLib functionality.
Constants
- MSG
- NAMESPACES
- NAMESPACES_RUBY_1_8_6_STDLIB
We check only against the top level namespaces. The stdlib define more objects, but they are under one of the top level namespaces listed.
- NAMESPACES_RUBY_2_0_0_STDLIB
- NAMESPACES_RUBY_2_2_6_STDLIB
- NAMESPACES_RUBY_STDLIB
Public Instance Methods
namespaces()
click to toggle source
# File lib/rubocop/sketchup/cop/requirements/ruby_stdlib_namespace.rb, line 627 def namespaces NAMESPACES end