Class: Decode::Comment::Text
- Inherits:
-
Object
- Object
- Decode::Comment::Text
- Defined in:
- lib/decode/comment/text.rb
Overview
A structured comment.
Instance Attribute Summary collapse
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(line) ⇒ Text
constructor
A new instance of Text.
- #traverse ⇒ Object
Constructor Details
#initialize(line) ⇒ Text
Returns a new instance of Text.
12 13 14 |
# File 'lib/decode/comment/text.rb', line 12 def initialize(line) @line = line end |
Instance Attribute Details
#line ⇒ Object (readonly)
Returns the value of attribute line.
16 17 18 |
# File 'lib/decode/comment/text.rb', line 16 def line @line end |
Instance Method Details
#traverse ⇒ Object
18 19 |
# File 'lib/decode/comment/text.rb', line 18 def traverse end |