lib/rambling/trie/stringifyable.rb in rambling-trie-2.3.0 vs lib/rambling/trie/stringifyable.rb in rambling-trie-2.3.1
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Rambling
module Trie
- # Provides the String representation behavior for the trie data structure.
+ # Provides the +String+ representation behavior for the trie data structure.
module Stringifyable
# String representation of the current node, if it is a terminal node.
# @return [String] the string representation of the current node.
# @raise [InvalidOperation] if node is not terminal or is root.
def as_word