Class: Rambling::Trie::Nodes::Missing
- Defined in:
- lib/rambling/trie/nodes/missing.rb
Overview
A representation of a missing node in the trie data structure. Returned when a node is not found.
Instance Attribute Summary
Attributes inherited from Node
#children_tree, #letter, #parent, #value
Instance Method Summary collapse
Methods inherited from Node
#[], #[]=, #children, #delete, #first_child, #initialize, #key?, #match_prefix, #root?, #scan, #terminal!, #terminal?, #word?
Methods included from Inspectable
Methods included from Stringifyable
Methods included from Comparable
Methods included from Enumerable
Methods included from Compressible
Constructor Details
This class inherits a constructor from Rambling::Trie::Nodes::Node
Instance Method Details
#partial_word?(_) ⇒ Boolean
8 9 10 |
# File 'lib/rambling/trie/nodes/missing.rb', line 8 def partial_word? _ false end |