Class: Async::Matrix::Api::PathTree::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/async/matrix/api/path_tree.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNode

Returns a new instance of Node.



26
27
28
29
30
31
# File 'lib/async/matrix/api/path_tree.rb', line 26

def initialize(**)
  super
  self.children ||= {}
  self.methods ||= []
  self.operation_ids ||= {}
end

Instance Attribute Details

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



25
26
27
# File 'lib/async/matrix/api/path_tree.rb', line 25

def children
  @children
end

#methodsObject

Returns the value of attribute methods

Returns:

  • (Object)

    the current value of methods



25
26
27
# File 'lib/async/matrix/api/path_tree.rb', line 25

def methods
  @methods
end

#operation_idsObject

Returns the value of attribute operation_ids

Returns:

  • (Object)

    the current value of operation_ids



25
26
27
# File 'lib/async/matrix/api/path_tree.rb', line 25

def operation_ids
  @operation_ids
end

#wildcardObject

Returns the value of attribute wildcard

Returns:

  • (Object)

    the current value of wildcard



25
26
27
# File 'lib/async/matrix/api/path_tree.rb', line 25

def wildcard
  @wildcard
end