class Zenlish::Trie::TrieNode

Attributes

key[R]

@return [String] the matching character

value[RW]

@return [Object, NilClass] Result when this character matches end-of-word.

Public Class Methods

new(aChar) click to toggle source
Calls superclass method Zenlish::Trie::BaseTrieNode::new
# File lib/zenlish/trie/trie_node.rb, line 14
def initialize(aChar)
  super()
  @key = aChar
  @value = nil
end