Class: Xberg::LinkMetadata
- Inherits:
-
Object
- Object
- Xberg::LinkMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#attributes ⇒ Array[KeyValueAttribute]
readonly
Returns the value of attribute attributes.
-
#href ⇒ String
readonly
Returns the value of attribute href.
-
#link_type ⇒ enum_LinkType
readonly
Returns the value of attribute link_type.
-
#rel ⇒ Array[String]
readonly
Returns the value of attribute rel.
-
#text ⇒ String
readonly
Returns the value of attribute text.
-
#title ⇒ String?
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ LinkMetadata
constructor
A new instance of LinkMetadata.
Constructor Details
#initialize ⇒ LinkMetadata
Returns a new instance of LinkMetadata.
1474 |
# File 'sig/types.rbs', line 1474
def initialize: (href: String, text: String, ?title: String, link_type: enum_LinkType, rel: Array[String], attributes: Array[KeyValueAttribute]) -> void
|
Instance Attribute Details
#attributes ⇒ Array[KeyValueAttribute] (readonly)
Returns the value of attribute attributes.
1472 1473 1474 |
# File 'sig/types.rbs', line 1472 def attributes @attributes end |
#href ⇒ String (readonly)
Returns the value of attribute href.
1467 1468 1469 |
# File 'sig/types.rbs', line 1467 def href @href end |
#link_type ⇒ enum_LinkType (readonly)
Returns the value of attribute link_type.
1470 1471 1472 |
# File 'sig/types.rbs', line 1470 def link_type @link_type end |
#rel ⇒ Array[String] (readonly)
Returns the value of attribute rel.
1471 1472 1473 |
# File 'sig/types.rbs', line 1471 def rel @rel end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1468 1469 1470 |
# File 'sig/types.rbs', line 1468 def text @text end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
1469 1470 1471 |
# File 'sig/types.rbs', line 1469 def title @title end |