Module: Rambling::Trie::Inspectable
- Included in:
- Nodes::Node
- Defined in:
- lib/rambling/trie/inspectable.rb
Overview
Provides pretty printing behavior for the trie data structure.
Instance Method Summary collapse
-
#inspect ⇒ String
A string representation of the current node.
Instance Method Details
#inspect ⇒ String
Returns a string representation of the current node.
8 9 10 |
# File 'lib/rambling/trie/inspectable.rb', line 8 def inspect "#<#{class_name} #{attributes}>" end |