Class: OrgParse::TableRowNode

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

Overview

table row

Instance Attribute Summary

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(cols, head = false) ⇒ TableRowNode

Returns a new instance of TableRowNode.



289
290
291
# File 'lib/org-parse/node.rb', line 289

def initialize(cols, head = false)
  super(:TABLE_ROW, cols, head)
end

Instance Method Details

#is_head=(val) ⇒ Object



297
298
299
# File 'lib/org-parse/node.rb', line 297

def is_head=(val)
  @value = val
end

#is_head?Boolean

Returns:

  • (Boolean)


293
294
295
# File 'lib/org-parse/node.rb', line 293

def is_head?
  @value
end