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:



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

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)


822
823
824
# File 'sig/types.rbs', line 822

def node_types
  @node_types
end

#nodesArray[DocumentNode]?

Returns the value of attribute nodes.

Returns:



819
820
821
# File 'sig/types.rbs', line 819

def nodes
  @nodes
end

#relationshipsArray[DocumentRelationship]?

Returns the value of attribute relationships.

Returns:



821
822
823
# File 'sig/types.rbs', line 821

def relationships
  @relationships
end

#source_formatString?

Returns the value of attribute source_format.

Returns:

  • (String, nil)


820
821
822
# File 'sig/types.rbs', line 820

def source_format
  @source_format
end

Class Method Details

.defaultDocumentStructure

Returns:



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

def self.default: () -> DocumentStructure

Instance Method Details

#finalize_node_typesvoid

This method returns an undefined value.



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

def finalize_node_types: () -> void

#is_emptyBoolean

Returns:

  • (Boolean)


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

def is_empty: () -> bool