Module: RuboCop::SketchUp::ToolChecker
- Included in:
- Cop::SketchupSuggestions::ToolDrawingBounds, Cop::SketchupSuggestions::ToolInvalidate, Cop::SketchupSuggestions::ToolUserInput
- Defined in:
- lib/rubocop/sketchup/tool_checker.rb
Instance Method Summary collapse
Instance Method Details
#on_class(node) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/rubocop/sketchup/tool_checker.rb', line 7 def on_class(node) name, _base_class, body = *node return unless name.const_name.end_with?('Tool') check_body(body, node) end |