Class: Xberg::DocumentStructure
- Inherits:
-
Object
- Object
- Xberg::DocumentStructure
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#node_types ⇒ Array[String]?
Returns the value of attribute node_types.
-
#nodes ⇒ Array[DocumentNode]?
Returns the value of attribute nodes.
-
#relationships ⇒ Array[DocumentRelationship]?
Returns the value of attribute relationships.
-
#source_format ⇒ String?
Returns the value of attribute source_format.
Class Method Summary collapse
Instance Method Summary collapse
- #finalize_node_types ⇒ void
-
#initialize ⇒ DocumentStructure
constructor
A new instance of DocumentStructure.
- #is_empty ⇒ Boolean
Constructor Details
#initialize ⇒ DocumentStructure
Returns a new instance of DocumentStructure.
821 |
# File 'sig/types.rbs', line 821
def initialize: (?nodes: Array[DocumentNode], ?source_format: String, ?relationships: Array[DocumentRelationship], ?node_types: Array[String]) -> void
|
Instance Attribute Details
#node_types ⇒ Array[String]?
Returns the value of attribute node_types.
819 820 821 |
# File 'sig/types.rbs', line 819 def node_types @node_types end |
#nodes ⇒ Array[DocumentNode]?
Returns the value of attribute nodes.
816 817 818 |
# File 'sig/types.rbs', line 816 def nodes @nodes end |
#relationships ⇒ Array[DocumentRelationship]?
Returns the value of attribute relationships.
818 819 820 |
# File 'sig/types.rbs', line 818 def relationships @relationships end |
#source_format ⇒ String?
Returns the value of attribute source_format.
817 818 819 |
# File 'sig/types.rbs', line 817 def source_format @source_format end |
Class Method Details
.default ⇒ DocumentStructure
824 |
# File 'sig/types.rbs', line 824
def self.default: () -> DocumentStructure
|
Instance Method Details
#finalize_node_types ⇒ void
This method returns an undefined value.
822 |
# File 'sig/types.rbs', line 822
def finalize_node_types: () -> void
|
#is_empty ⇒ Boolean
823 |
# File 'sig/types.rbs', line 823
def is_empty: () -> bool
|