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:



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

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

Instance Attribute Details

#contentString?

Returns the value of attribute content.

Returns:

  • (String, nil)


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

def content
  @content
end

#documentDocumentStructure?

Returns the value of attribute document.

Returns:



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

def document
  @document
end

#metadataHtmlMetadata?

Returns the value of attribute metadata.

Returns:



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

def 
  @metadata
end

#tablesArray[TableData]?

Returns the value of attribute tables.

Returns:



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

def tables
  @tables
end

#warningsArray[ProcessingWarning]?

Returns the value of attribute warnings.

Returns:



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

def warnings
  @warnings
end