Class: Calyx::PrefixNode

Inherits:
Struct
  • Object
show all
Defined in:
lib/calyx/prefix_tree.rb

Instance Attribute Summary collapse

Instance Attribute Details

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



2
3
4
# File 'lib/calyx/prefix_tree.rb', line 2

def children
  @children
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



2
3
4
# File 'lib/calyx/prefix_tree.rb', line 2

def index
  @index
end