Class: Coradoc::AsciiDoc::Model::Inline::CrossReference
Overview
Cross-reference (xref) inline element for AsciiDoc documents.
Cross-references create links to other sections or documents.
Instance Attribute Summary collapse
-
#args ⇒ Array<String>
readonly
Optional reference arguments.
-
#href ⇒ String
readonly
The target reference ID.
Attributes inherited from Base
Method Summary
Methods inherited from Base
Methods inherited from Base
#block_level?, #inline?, #serialize_content, #simplify_block_content, #to_adoc, #to_h, visit, #visit
Instance Attribute Details
#args ⇒ Array<String> (readonly)
Returns Optional reference arguments.
22 23 24 25 |
# File 'lib/coradoc/asciidoc/model/inline/cross_reference.rb', line 22 class CrossReference < Base attribute :href, :string attribute :args, :string, collection: true end |
#href ⇒ String (readonly)
Returns The target reference ID.
22 23 24 25 |
# File 'lib/coradoc/asciidoc/model/inline/cross_reference.rb', line 22 class CrossReference < Base attribute :href, :string attribute :args, :string, collection: true end |