Class: Coradoc::Input::Html::Converters::Tr
- Inherits:
-
Base
- Object
- Base
- Coradoc::Input::Html::Converters::Tr
show all
- Defined in:
- lib/coradoc/input/html/converters/tr.rb
Instance Method Summary
collapse
Methods inherited from Base
#convert, #extract_leading_trailing_whitespace, #extract_title, #node_has_ancestor?, #textnode_after_start_with?, #textnode_before_end_with?, #treat, #treat_children, #treat_children_coradoc, #treat_coradoc, #unconstrained_after?, #unconstrained_before?
Instance Method Details
12
13
14
15
|
# File 'lib/coradoc/input/html/converters/tr.rb', line 12
def (node)
node.previous_element.nil?
end
|
#to_coradoc(node, state = {}) ⇒ Object
6
7
8
9
10
|
# File 'lib/coradoc/input/html/converters/tr.rb', line 6
def to_coradoc(node, state = {})
content = treat_children_coradoc(node, state)
= (node)
Coradoc::Element::Table::Row.new(content, )
end
|