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:



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

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)


878
879
880
# File 'sig/types.rbs', line 878

def node_types
  @node_types
end

#nodesArray[DocumentNode]?

Returns the value of attribute nodes.

Returns:



875
876
877
# File 'sig/types.rbs', line 875

def nodes
  @nodes
end

#relationshipsArray[DocumentRelationship]?

Returns the value of attribute relationships.

Returns:



877
878
879
# File 'sig/types.rbs', line 877

def relationships
  @relationships
end

#source_formatString?

Returns the value of attribute source_format.

Returns:

  • (String, nil)


876
877
878
# File 'sig/types.rbs', line 876

def source_format
  @source_format
end

Class Method Details

.defaultDocumentStructure

Returns:



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

def self.default: () -> DocumentStructure

Instance Method Details

#finalize_node_typesvoid

This method returns an undefined value.



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

def finalize_node_types: () -> void

#is_emptyBoolean

Returns:

  • (Boolean)


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

def is_empty: () -> bool