Class: Xberg::DocumentStructure

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDocumentStructure

Returns a new instance of DocumentStructure.

Parameters:



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

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

Instance Attribute Details

#node_typesArray[String]?

Returns the value of attribute node_types.

Returns:

  • (Array[String], nil)


850
851
852
# File 'sig/types.rbs', line 850

def node_types
  @node_types
end

#nodesArray[DocumentNode]?

Returns the value of attribute nodes.

Returns:



847
848
849
# File 'sig/types.rbs', line 847

def nodes
  @nodes
end

#relationshipsArray[DocumentRelationship]?

Returns the value of attribute relationships.

Returns:



849
850
851
# File 'sig/types.rbs', line 849

def relationships
  @relationships
end

#source_formatString?

Returns the value of attribute source_format.

Returns:

  • (String, nil)


848
849
850
# File 'sig/types.rbs', line 848

def source_format
  @source_format
end

Class Method Details

.defaultDocumentStructure

Returns:



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

def self.default: () -> DocumentStructure

Instance Method Details

#finalize_node_typesvoid

This method returns an undefined value.



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

def finalize_node_types: () -> void

#is_emptyBoolean

Returns:

  • (Boolean)


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

def is_empty: () -> bool