class Luce::LinkReference
- Luce::LinkReference
- Reference
- Object
Overview
Defined in:
luce/document.crConstructors
-
.new(label : String, destination : String, title : String | Nil)
Construct a new
LinkReference
, with all necessary fields.
Instance Method Summary
-
#destination : String
The link destination.
-
#label : String
The link label.
-
#title : String | Nil
The link title.
Constructor Detail
def self.new(label : String, destination : String, title : String | Nil)
#
Construct a new LinkReference
, with all necessary fields.
If the parsed link reference definition does not include a title,
use nil
for the title parameter.
Instance Method Detail
def label : String
#
The link label.
Temporarily, this class is also being used to represent the link data for an inline link (the destination and title), but this should change before the shard is released.