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 ⇒ 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.
47 |
# File 'sig/types.rbs', line 47
def initialize: (href: String, text: String, ?title: String, link_type: LinkType, rel: Array[String], attributes: Hash[String, String]) -> void
|
Instance Attribute Details
#attributes ⇒ Hash[String, String] (readonly)
Returns the value of attribute attributes.
45 46 47 |
# File 'sig/types.rbs', line 45 def attributes @attributes end |
#href ⇒ String (readonly)
Returns the value of attribute href.
40 41 42 |
# File 'sig/types.rbs', line 40 def href @href end |
#link_type ⇒ LinkType (readonly)
Returns the value of attribute link_type.
43 44 45 |
# File 'sig/types.rbs', line 43 def link_type @link_type end |
#rel ⇒ Array[String] (readonly)
Returns the value of attribute rel.
44 45 46 |
# File 'sig/types.rbs', line 44 def rel @rel end |
#text ⇒ String (readonly)
Returns the value of attribute text.
41 42 43 |
# File 'sig/types.rbs', line 41 def text @text end |
#title ⇒ String (readonly)
Returns the value of attribute title.
42 43 44 |
# File 'sig/types.rbs', line 42 def title @title end |