Class: HtmlToMarkdown::DocumentStructure

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDocumentStructure

Returns a new instance of DocumentStructure.

Parameters:



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

def initialize: (nodes: Array[DocumentNode], ?source_format: String) -> void

Instance Attribute Details

#nodesArray[DocumentNode] (readonly)

Returns the value of attribute nodes.

Returns:



205
206
207
# File 'sig/types.rbs', line 205

def nodes
  @nodes
end

#source_formatString (readonly)

Returns the value of attribute source_format.

Returns:

  • (String)


206
207
208
# File 'sig/types.rbs', line 206

def source_format
  @source_format
end