Class: Coradoc::LinkRewriter::Identity
- Inherits:
-
Object
- Object
- Coradoc::LinkRewriter::Identity
- Defined in:
- lib/coradoc/link_rewriter/identity.rb
Overview
Default no-op rewriter. Returns every target unchanged. Used when the caller only wants the visitor’s immutable-copy guarantee.
Instance Method Summary collapse
Instance Method Details
#call(target:) ⇒ Object
8 9 10 |
# File 'lib/coradoc/link_rewriter/identity.rb', line 8 def call(target:, **) target end |