Class: Decode::Comment::Text

Inherits:
Object
  • Object
show all
Defined in:
lib/decode/comment/text.rb

Overview

A structured comment.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#lineObject (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

#traverseObject



18
19
# File 'lib/decode/comment/text.rb', line 18

def traverse
end