Class: Ovec::CommentNode
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
-
#initialize(content) ⇒ CommentNode
constructor
A new instance of CommentNode.
- #to_tex ⇒ Object
Constructor Details
#initialize(content) ⇒ CommentNode
Returns a new instance of CommentNode.
6 7 8 |
# File 'lib/ovec/nodes.rb', line 6 def initialize(content) @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
14 15 16 |
# File 'lib/ovec/nodes.rb', line 14 def content @content end |
Instance Method Details
#to_tex ⇒ Object
10 11 12 |
# File 'lib/ovec/nodes.rb', line 10 def to_tex content end |