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.



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

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



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

def children
  @children
end

#methodsObject

Returns the value of attribute methods

Returns:

  • (Object)

    the current value of methods



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

def methods
  @methods
end

#operation_idsObject

Returns the value of attribute operation_ids

Returns:

  • (Object)

    the current value of operation_ids



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

def operation_ids
  @operation_ids
end

#wildcardObject

Returns the value of attribute wildcard

Returns:

  • (Object)

    the current value of wildcard



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

def wildcard
  @wildcard
end