Class: ReverseAdoc::Converters::Th

Inherits:
Td
  • Object
show all
Defined in:
lib/reverse_adoc/converters/th.rb

Instance Method Summary collapse

Methods inherited from Td

#alignstyle, #colrow, #convert, #to_coradoc

Methods inherited from Base

#constrained?, #escape_keychars, #extract_title, #node_has_ancestor?, #textnode_before_end_with?, #treat, #treat_children, #treat_children_coradoc, #treat_coradoc, #unconstrained_after?, #unconstrained_before?

Instance Method Details

#cellstyle(node) ⇒ Object



4
5
6
7
8
9
# File 'lib/reverse_adoc/converters/th.rb', line 4

def cellstyle(node)
  # this is the header row
  return "" if node.parent.previous_element.nil?

  "h"
end