Class: ReverseAdoc::Converters::Th
- Defined in:
- lib/reverse_adoc/converters/th.rb
Instance Method Summary collapse
Methods inherited from Td
#alignstyle, #colrow, #convert
Methods inherited from Base
#escape_keychars, #extract_title, #treat, #treat_children
Instance Method Details
#cellstyle(node) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/reverse_adoc/converters/th.rb', line 4 def cellstyle(node) if node.parent.previous_element.nil? # this is the header row "" else "h" end end |