Class: OrgParse::TextlineNode
Instance Attribute Summary collapse
-
#indent ⇒ Object
readonly
Returns the value of attribute indent.
Attributes inherited from Node
#children, #kind, #parent, #value
Instance Method Summary collapse
-
#initialize(children, vals) ⇒ TextlineNode
constructor
A new instance of TextlineNode.
Methods inherited from Node
#done, #done?, #example?, #html?, #inspect, #is_leaf?, #section_no_array, #set_example, #set_html, #set_src, #set_to_descendant, #set_verse, #src?, #verse?
Constructor Details
#initialize(children, vals) ⇒ TextlineNode
Returns a new instance of TextlineNode.
217 218 219 220 |
# File 'lib/org-parse/node.rb', line 217 def initialize(children, vals) @indent = vals[1] super(:TEXTLINE, children, vals[0]) end |
Instance Attribute Details
#indent ⇒ Object (readonly)
Returns the value of attribute indent.
215 216 217 |
# File 'lib/org-parse/node.rb', line 215 def indent @indent end |