Class: HtmlToMarkdown::HtmlMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHtmlMetadata

Returns a new instance of HtmlMetadata.

Parameters:



76
# File 'sig/types.rbs', line 76

def initialize: (?document: DocumentMetadata, ?headers: Array[HeaderMetadata], ?links: Array[LinkMetadata], ?images: Array[ImageMetadata], ?structured_data: Array[StructuredData]) -> void

Instance Attribute Details

#documentDocumentMetadata?

Returns the value of attribute document.

Returns:



70
71
72
# File 'sig/types.rbs', line 70

def document
  @document
end

#headersArray[HeaderMetadata]?

Returns the value of attribute headers.

Returns:



71
72
73
# File 'sig/types.rbs', line 71

def headers
  @headers
end

#imagesArray[ImageMetadata]?

Returns the value of attribute images.

Returns:



73
74
75
# File 'sig/types.rbs', line 73

def images
  @images
end

Returns the value of attribute links.

Returns:



72
73
74
# File 'sig/types.rbs', line 72

def links
  @links
end

#structured_dataArray[StructuredData]?

Returns the value of attribute structured_data.

Returns:



74
75
76
# File 'sig/types.rbs', line 74

def structured_data
  @structured_data
end