Class: RuboCop::Cop::Style::PublicClassDocumentation
- Inherits:
-
Documentation
- Object
- Documentation
- RuboCop::Cop::Style::PublicClassDocumentation
- Defined in:
- lib/rubocop/cop/style/public_class_documentation.rb
Overview
TODO: Write cop description and example of bad / good code. For every ‘SupportedStyle` and unique configuration, there needs to be examples. Examples must have valid Ruby syntax. Do not use upticks.
Instance Method Summary collapse
-
#on_class(node) ⇒ Object
overide method to add on my class doc.
Instance Method Details
#on_class(node) ⇒ Object
overide method to add on my class doc
Parameters:
-
:node
a class node
44 45 46 47 |
# File 'lib/rubocop/cop/style/public_class_documentation.rb', line 44 def on_class(node) check_class_comment(node, :class) super end |