Class: Coradoc::Html::Converters::Aside
- Defined in:
- lib/coradoc/html/converters/aside.rb
Constant Summary collapse
- INSTANCE =
new
Instance Method Summary collapse
Methods inherited from Base
#extract_leading_trailing_whitespace, #extract_text_from_content, #extract_title, #node_has_ancestor?, #textnode_after_start_with?, #textnode_before_end_with?, #treat_children_coradoc, #treat_coradoc, #unconstrained_after?, #unconstrained_before?
Instance Method Details
#to_coradoc(node, state = {}) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/coradoc/html/converters/aside.rb', line 9 def to_coradoc(node, state = {}) content = treat_children_coradoc(node, state) Coradoc::CoreModel::SidebarBlock.new( children: content ) end |