Class: HtmlToMarkdown::ConversionResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ ConversionResult

Returns a new instance of ConversionResult.

Parameters:



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

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

Instance Attribute Details

#content ⇒ String? (readonly)

Returns the value of attribute content.

Returns:

  • (String, nil)


113
114
115
# File 'sig/types.rbs', line 113

def content
  @content
end

#document ⇒ DocumentStructure? (readonly)

Returns the value of attribute document.

Returns:



114
115
116
# File 'sig/types.rbs', line 114

def document
  @document
end

#metadata ⇒ HtmlMetadata (readonly)

Returns the value of attribute metadata.

Returns:



115
116
117
# File 'sig/types.rbs', line 115

def 
  
end

#tables ⇒ Array[TableData] (readonly)

Returns the value of attribute tables.

Returns:



116
117
118
# File 'sig/types.rbs', line 116

def tables
  @tables
end

#warnings ⇒ Array[ProcessingWarning] (readonly)

Returns the value of attribute warnings.

Returns:



117
118
119
# File 'sig/types.rbs', line 117

def warnings
  @warnings
end