Class: HtmlToMarkdown::LinkMetadata
- Inherits:
-
Object
- Object
- HtmlToMarkdown::LinkMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#attributes ⇒ Hash[String, String]
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.
214 |
# File 'sig/types.rbs', line 214
def initialize: (href: String, text: String, ?title: String, link_type: enum_LinkType, rel: Array[String], attributes: Hash[String, String]) -> void
|
Instance Attribute Details
#attributes ⇒ Hash[String, String] (readonly)
Returns the value of attribute attributes.
212 213 214 |
# File 'sig/types.rbs', line 212 def attributes @attributes end |
#href ⇒ String (readonly)
Returns the value of attribute href.
207 208 209 |
# File 'sig/types.rbs', line 207 def href @href end |
#link_type ⇒ enum_LinkType (readonly)
Returns the value of attribute link_type.
210 211 212 |
# File 'sig/types.rbs', line 210 def link_type @link_type end |
#rel ⇒ Array[String] (readonly)
Returns the value of attribute rel.
211 212 213 |
# File 'sig/types.rbs', line 211 def rel @rel end |
#text ⇒ String (readonly)
Returns the value of attribute text.
208 209 210 |
# File 'sig/types.rbs', line 208 def text @text end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
209 210 211 |
# File 'sig/types.rbs', line 209 def title @title end |