Class: HtmlToMarkdown::DocumentMetadata
- Inherits:
-
Object
- Object
- HtmlToMarkdown::DocumentMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#author ⇒ String?
Returns the value of attribute author.
-
#base_href ⇒ String?
Returns the value of attribute base_href.
-
#canonical_url ⇒ String?
Returns the value of attribute canonical_url.
-
#description ⇒ String?
Returns the value of attribute description.
-
#keywords ⇒ Array[String]?
Returns the value of attribute keywords.
-
#language ⇒ String?
Returns the value of attribute language.
-
#meta_tags ⇒ Hash[String, String]?
Returns the value of attribute meta_tags.
-
#open_graph ⇒ Hash[String, String]?
Returns the value of attribute open_graph.
-
#text_direction ⇒ TextDirection?
Returns the value of attribute text_direction.
-
#title ⇒ String?
Returns the value of attribute title.
-
#twitter_card ⇒ Hash[String, String]?
Returns the value of attribute twitter_card.
Instance Method Summary collapse
-
#initialize ⇒ DocumentMetadata
constructor
A new instance of DocumentMetadata.
Constructor Details
#initialize ⇒ DocumentMetadata
Returns a new instance of DocumentMetadata.
25 |
# File 'sig/types.rbs', line 25
def initialize: (?title: String, ?description: String, ?keywords: Array[String], ?author: String, ?canonical_url: String, ?base_href: String, ?language: String, ?text_direction: TextDirection, ?open_graph: Hash[String, String], ?twitter_card: Hash[String, String], ?meta_tags: Hash[String, String]) -> void
|
Instance Attribute Details
#author ⇒ String?
Returns the value of attribute author.
16 17 18 |
# File 'sig/types.rbs', line 16 def @author end |
#base_href ⇒ String?
Returns the value of attribute base_href.
18 19 20 |
# File 'sig/types.rbs', line 18 def base_href @base_href end |
#canonical_url ⇒ String?
Returns the value of attribute canonical_url.
17 18 19 |
# File 'sig/types.rbs', line 17 def canonical_url @canonical_url end |
#description ⇒ String?
Returns the value of attribute description.
14 15 16 |
# File 'sig/types.rbs', line 14 def description @description end |
#keywords ⇒ Array[String]?
Returns the value of attribute keywords.
15 16 17 |
# File 'sig/types.rbs', line 15 def keywords @keywords end |
#language ⇒ String?
Returns the value of attribute language.
19 20 21 |
# File 'sig/types.rbs', line 19 def language @language end |
#meta_tags ⇒ Hash[String, String]?
Returns the value of attribute meta_tags.
23 24 25 |
# File 'sig/types.rbs', line 23 def @meta_tags end |
#open_graph ⇒ Hash[String, String]?
Returns the value of attribute open_graph.
21 22 23 |
# File 'sig/types.rbs', line 21 def open_graph @open_graph end |
#text_direction ⇒ TextDirection?
Returns the value of attribute text_direction.
20 21 22 |
# File 'sig/types.rbs', line 20 def text_direction @text_direction end |
#title ⇒ String?
Returns the value of attribute title.
13 14 15 |
# File 'sig/types.rbs', line 13 def title @title end |
#twitter_card ⇒ Hash[String, String]?
Returns the value of attribute twitter_card.
22 23 24 |
# File 'sig/types.rbs', line 22 def twitter_card @twitter_card end |