Class: Xberg::DocumentStructure
- Inherits:
-
Object
- Object
- Xberg::DocumentStructure
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#node_types ⇒ Array[String]
readonly
Returns the value of attribute node_types.
-
#nodes ⇒ Array[DocumentNode]
readonly
Returns the value of attribute nodes.
-
#relationships ⇒ Array[DocumentRelationship]
readonly
Returns the value of attribute relationships.
-
#source_format ⇒ String?
readonly
Returns the value of attribute source_format.
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.
638 |
# File 'sig/types.rbs', line 638
def initialize: (?nodes: Array[DocumentNode], ?source_format: String, ?relationships: Array[DocumentRelationship], ?node_types: Array[String]) -> void
|
Instance Attribute Details
#node_types ⇒ Array[String] (readonly)
Returns the value of attribute node_types.
636 637 638 |
# File 'sig/types.rbs', line 636 def node_types @node_types end |
#nodes ⇒ Array[DocumentNode] (readonly)
Returns the value of attribute nodes.
633 634 635 |
# File 'sig/types.rbs', line 633 def nodes @nodes end |
#relationships ⇒ Array[DocumentRelationship] (readonly)
Returns the value of attribute relationships.
635 636 637 |
# File 'sig/types.rbs', line 635 def relationships @relationships end |
#source_format ⇒ String? (readonly)
Returns the value of attribute source_format.
634 635 636 |
# File 'sig/types.rbs', line 634 def source_format @source_format end |
Instance Method Details
#finalize_node_types ⇒ void
This method returns an undefined value.
639 |
# File 'sig/types.rbs', line 639
def finalize_node_types: () -> void
|
#is_empty ⇒ Boolean
640 |
# File 'sig/types.rbs', line 640
def is_empty: () -> bool
|