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:



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

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

Instance Attribute Details

#nodesArray[DocumentNode] (readonly)

Returns the value of attribute nodes.

Returns:



203
204
205
# File 'sig/types.rbs', line 203

def nodes
  @nodes
end

#source_formatString? (readonly)

Returns the value of attribute source_format.

Returns:

  • (String, nil)


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

def source_format
  @source_format
end