Class: OrgParse::TableNode

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(hrows, drows) ⇒ TableNode

Returns a new instance of TableNode.



280
281
282
283
284
# File 'lib/org-parse/node.rb', line 280

def initialize(hrows, drows)
  hrows.each{|h| h.is_head = true }
  @hrows = hrows
  super(:TABLE, drows)
end

Instance Attribute Details

#hrowsObject (readonly)

Returns the value of attribute hrows.



278
279
280
# File 'lib/org-parse/node.rb', line 278

def hrows
  @hrows
end