Class: Async::Matrix::Api::PathTree::Node
- Inherits:
-
Struct
- Object
- Struct
- Async::Matrix::Api::PathTree::Node
- Defined in:
- lib/async/matrix/api/path_tree.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
Returns the value of attribute children.
-
#methods ⇒ Object
Returns the value of attribute methods.
-
#operation_ids ⇒ Object
Returns the value of attribute operation_ids.
-
#wildcard ⇒ Object
Returns the value of attribute wildcard.
Instance Method Summary collapse
-
#initialize ⇒ Node
constructor
A new instance of Node.
Constructor Details
#initialize ⇒ Node
Returns a new instance of Node.
28 29 30 31 32 33 |
# File 'lib/async/matrix/api/path_tree.rb', line 28 def initialize(**) super self.children ||= {} self.methods ||= [] self.operation_ids ||= {} end |
Instance Attribute Details
#children ⇒ Object
Returns the value of attribute children
27 28 29 |
# File 'lib/async/matrix/api/path_tree.rb', line 27 def children @children end |
#methods ⇒ Object
Returns the value of attribute methods
27 28 29 |
# File 'lib/async/matrix/api/path_tree.rb', line 27 def methods @methods end |
#operation_ids ⇒ Object
Returns the value of attribute operation_ids
27 28 29 |
# File 'lib/async/matrix/api/path_tree.rb', line 27 def operation_ids @operation_ids end |
#wildcard ⇒ Object
Returns the value of attribute wildcard
27 28 29 |
# File 'lib/async/matrix/api/path_tree.rb', line 27 def wildcard @wildcard end |