Class: HtmlToMarkdown::HtmlMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ HtmlMetadata

Returns a new instance of HtmlMetadata.

Parameters:



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

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

Instance Attribute Details

#document ⇒ DocumentMetadata (readonly)

Returns the value of attribute document.

Returns:



179
180
181
# File 'sig/types.rbs', line 179

def document
  @document
end

#headers ⇒ Array[HeaderMetadata] (readonly)

Returns the value of attribute headers.

Returns:



180
181
182
# File 'sig/types.rbs', line 180

def headers
  @headers
end

#images ⇒ Array[ImageMetadata] (readonly)

Returns the value of attribute images.

Returns:



182
183
184
# File 'sig/types.rbs', line 182

def images
  @images
end

Returns the value of attribute links.

Returns:



181
182
183
# File 'sig/types.rbs', line 181

def links
  @links
end

#structured_data ⇒ Array[StructuredData] (readonly)

Returns the value of attribute structured_data.

Returns:



183
184
185
# File 'sig/types.rbs', line 183

def structured_data
  @structured_data
end