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.
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
#hrows ⇒ Object (readonly)
Returns the value of attribute hrows.
278 279 280 |
# File 'lib/org-parse/node.rb', line 278 def hrows @hrows end |