Class: RuboCop::Cop::Yardoc::Base::CommentEntry
- Inherits:
-
Struct
- Object
- Struct
- RuboCop::Cop::Yardoc::Base::CommentEntry
- Defined in:
- lib/rubocop/cop/yardoc/base.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
11 12 13 |
# File 'lib/rubocop/cop/yardoc/base.rb', line 11 def blank @blank end |
#comment ⇒ Object
Returns the value of attribute comment
11 12 13 |
# File 'lib/rubocop/cop/yardoc/base.rb', line 11 def comment @comment end |
#line ⇒ Object
Returns the value of attribute line
11 12 13 |
# File 'lib/rubocop/cop/yardoc/base.rb', line 11 def line @line end |
#tag ⇒ Object
Returns the value of attribute tag
11 12 13 |
# File 'lib/rubocop/cop/yardoc/base.rb', line 11 def tag @tag end |
#text ⇒ Object
Returns the value of attribute text
11 12 13 |
# File 'lib/rubocop/cop/yardoc/base.rb', line 11 def text @text end |
Instance Method Details
#blank? ⇒ Boolean
Whether the comment is empty
15 16 17 |
# File 'lib/rubocop/cop/yardoc/base.rb', line 15 def blank? blank end |