Class: HtmlToMarkdown::ConversionResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConversionResult

Returns a new instance of ConversionResult.

Parameters:



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

def initialize: (?content: String, ?document: DocumentStructure, ?metadata: HtmlMetadata, ?tables: Array[TableData], ?warnings: Array[ProcessingWarning]) -> void

Instance Attribute Details

#contentString? (readonly)

Returns the value of attribute content.

Returns:

  • (String, nil)


236
237
238
# File 'sig/types.rbs', line 236

def content
  @content
end

#documentDocumentStructure? (readonly)

Returns the value of attribute document.

Returns:



237
238
239
# File 'sig/types.rbs', line 237

def document
  @document
end

#metadataHtmlMetadata (readonly)

Returns the value of attribute metadata.

Returns:



238
239
240
# File 'sig/types.rbs', line 238

def 
  @metadata
end

#tablesArray[TableData] (readonly)

Returns the value of attribute tables.

Returns:



239
240
241
# File 'sig/types.rbs', line 239

def tables
  @tables
end

#warningsArray[ProcessingWarning] (readonly)

Returns the value of attribute warnings.

Returns:



240
241
242
# File 'sig/types.rbs', line 240

def warnings
  @warnings
end