Class: RuboCop::Cop::Yardoc::ParamDescriptionCasing::CommentEntry
- Inherits:
-
Struct
- Object
- Struct
- RuboCop::Cop::Yardoc::ParamDescriptionCasing::CommentEntry
- Defined in:
- lib/rubocop/cop/yardoc/param_description_casing.rb
Overview
Represents a comment entry (it may be a multi-line comment)
Instance Attribute Summary collapse
-
#blank ⇒ Object
Returns the value of attribute blank.
-
#comment ⇒ Object
Returns the value of attribute comment.
-
#line ⇒ Object
Returns the value of attribute line.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#blank? ⇒ Boolean
Whether the comment is empty.
Instance Attribute Details
#blank ⇒ Object
Returns the value of attribute blank
27 28 29 |
# File 'lib/rubocop/cop/yardoc/param_description_casing.rb', line 27 def blank @blank end |
#comment ⇒ Object
Returns the value of attribute comment
27 28 29 |
# File 'lib/rubocop/cop/yardoc/param_description_casing.rb', line 27 def comment @comment end |
#line ⇒ Object
Returns the value of attribute line
27 28 29 |
# File 'lib/rubocop/cop/yardoc/param_description_casing.rb', line 27 def line @line end |
#tag ⇒ Object
Returns the value of attribute tag
27 28 29 |
# File 'lib/rubocop/cop/yardoc/param_description_casing.rb', line 27 def tag @tag end |
#text ⇒ Object
Returns the value of attribute text
27 28 29 |
# File 'lib/rubocop/cop/yardoc/param_description_casing.rb', line 27 def text @text end |
Instance Method Details
#blank? ⇒ Boolean
Whether the comment is empty
31 32 33 |
# File 'lib/rubocop/cop/yardoc/param_description_casing.rb', line 31 def blank? blank end |