Class: Xberg::LinkMetadata
- Inherits:
-
Object
- Object
- Xberg::LinkMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#href ⇒ String
readonly
Returns the value of attribute href.
-
#link_type ⇒ 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.
1406 |
# File 'sig/types.rbs', line 1406
def initialize: (href: String, text: String, ?title: String, link_type: LinkType, rel: Array[String]) -> void
|
Instance Attribute Details
#href ⇒ String (readonly)
Returns the value of attribute href.
1400 1401 1402 |
# File 'sig/types.rbs', line 1400 def href @href end |
#link_type ⇒ LinkType (readonly)
Returns the value of attribute link_type.
1403 1404 1405 |
# File 'sig/types.rbs', line 1403 def link_type @link_type end |
#rel ⇒ Array[String] (readonly)
Returns the value of attribute rel.
1404 1405 1406 |
# File 'sig/types.rbs', line 1404 def rel @rel end |
#text ⇒ String (readonly)
Returns the value of attribute text.
1401 1402 1403 |
# File 'sig/types.rbs', line 1401 def text @text end |
#title ⇒ String (readonly)
Returns the value of attribute title.
1402 1403 1404 |
# File 'sig/types.rbs', line 1402 def title @title end |