Class: HtmlToMarkdown::DocumentStructure

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ DocumentStructure

Returns a new instance of DocumentStructure.

Parameters:



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

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

Instance Attribute Details

#nodes ⇒ Array[DocumentNode] (readonly)

Returns the value of attribute nodes.

Returns:



150
151
152
# File 'sig/types.rbs', line 150

def nodes
  @nodes
end

#source_format ⇒ String? (readonly)

Returns the value of attribute source_format.

Returns:

  • (String, nil)


151
152
153
# File 'sig/types.rbs', line 151

def source_format
  @source_format
end