Class: OrgParse::TableNode
Instance Attribute Summary collapse
-
#hrows ⇒ Object
readonly
Returns the value of attribute hrows.
Attributes inherited from Node
#children, #kind, #parent, #value
Instance Method Summary collapse
-
#initialize(hrows, drows) ⇒ TableNode
constructor
A new instance of TableNode.
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.
270 271 272 273 274 |
# File 'lib/org-parse/node.rb', line 270 def initialize(hrows, drows) hrows.each{|h| h.is_head = true } @hrows = hrows super(:TABLE, drows) end |
Instance Attribute Details
#hrows ⇒ Object (readonly)
Returns the value of attribute hrows.
268 269 270 |
# File 'lib/org-parse/node.rb', line 268 def hrows @hrows end |