Class: Anydoc::LinkTarget
- Inherits:
-
Data
- Object
- Data
- Anydoc::LinkTarget
- Defined in:
- lib/anydoc/document.rb,
sig/anydoc.rbs
Overview
Where a link points.
Instance Attribute Summary collapse
-
#kind ⇒ Symbol
readonly
:external | :relative | :anchor.
-
#value ⇒ String
readonly
The URL, relative reference, or anchor id.
Instance Attribute Details
#kind ⇒ Symbol (readonly)
:external | :relative | :anchor
109 110 |
# File 'lib/anydoc/document.rb', line 109 class LinkTarget < Data.define(:kind, :value) end |
#value ⇒ String (readonly)
Returns the URL, relative reference, or anchor id.
109 110 |
# File 'lib/anydoc/document.rb', line 109 class LinkTarget < Data.define(:kind, :value) end |