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:



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

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)


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

def node_types
  @node_types
end

#nodesArray[DocumentNode]?

Returns the value of attribute nodes.

Returns:



817
818
819
# File 'sig/types.rbs', line 817

def nodes
  @nodes
end

#relationshipsArray[DocumentRelationship]?

Returns the value of attribute relationships.

Returns:



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

def relationships
  @relationships
end

#source_formatString?

Returns the value of attribute source_format.

Returns:

  • (String, nil)


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

def source_format
  @source_format
end

Class Method Details

.defaultDocumentStructure

Returns:



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

def self.default: () -> DocumentStructure

Instance Method Details

#finalize_node_typesvoid

This method returns an undefined value.



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

def finalize_node_types: () -> void

#is_emptyBoolean

Returns:

  • (Boolean)


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

def is_empty: () -> bool