Module: Asciidoctor::Rfc::V3::InlineAnchor
- Included in:
- Converter
- Defined in:
- lib/asciidoctor/rfc/v3/inline_anchor.rb
Instance Method Summary collapse
Instance Method Details
#inline_anchor(node) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/asciidoctor/rfc/v3/inline_anchor.rb', line 4 def inline_anchor(node) case node.type when :xref inline_anchor_xref node when :link inline_anchor_link node when :bibref inline_anchor_bibref node when :ref inline_anchor_ref node else warn %(asciidoctor: WARNING (#{current_location(node)}): unknown anchor type: #{node.type.inspect}) end end |