Class: OrgParse::TextlineNode

Inherits:
Node
  • Object
show all
Defined in:
lib/org-parse/node.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#children, #kind, #parent, #value

Instance Method Summary collapse

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

#indentObject (readonly)

Returns the value of attribute indent.



215
216
217
# File 'lib/org-parse/node.rb', line 215

def indent
  @indent
end