Class: Coradoc::Reference::Materializer::Passthrough
- Defined in:
- lib/coradoc/reference/materializer/passthrough.rb
Overview
Default fallback. Returns the original edge-bearing node unchanged — an unresolvable or unrenderable reference survives materialization exactly as authored, so round-tripping is always safe and no content is ever lost.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.format ⇒ Object
20 21 22 |
# File 'lib/coradoc/reference/materializer/passthrough.rb', line 20 def format :any end |
.kind ⇒ Object
12 13 14 |
# File 'lib/coradoc/reference/materializer/passthrough.rb', line 12 def kind :any end |
.presentation ⇒ Object
16 17 18 |
# File 'lib/coradoc/reference/materializer/passthrough.rb', line 16 def presentation :any end |
Instance Method Details
#materialize(node:) ⇒ Object
25 26 27 |
# File 'lib/coradoc/reference/materializer/passthrough.rb', line 25 def materialize(node:, **) node end |