Class: Coradoc::Mirror::ReverseBuilder::Sections

Inherits:
Base
  • Object
show all
Defined in:
lib/coradoc/mirror/reverse_builder.rb

Overview

‘sections` is a structural container only — unwrap directly into an array. MirrorToCoreModel#build_content flattens arrays.

Instance Attribute Summary

Attributes inherited from Base

#context

Instance Method Summary collapse

Methods inherited from Base

#apply_mark, #build_content, #build_inline_children, #build_node, #extract_text, #initialize, #inline_content, registers

Constructor Details

This class inherits a constructor from Coradoc::Mirror::ReverseBuilder::Base

Instance Method Details

#build(node) ⇒ Object



140
141
142
# File 'lib/coradoc/mirror/reverse_builder.rb', line 140

def build(node)
  build_content(node)
end