lib/rambling/trie/enumerable.rb in rambling-trie-2.3.1 vs lib/rambling/trie/enumerable.rb in rambling-trie-2.4.0
- old
+ new
@@ -5,11 +5,10 @@
# Provides enumerable behavior to the trie data structure.
module Enumerable
include ::Enumerable
# Returns number of words contained in the trie
- # @see https://ruby-doc.org/core-2.7.0/Enumerable.html#method-i-count
- # Enumerable#count
+ # @see https://ruby-doc.org/core-2.7.0/Enumerable.html#method-i-count Enumerable#count
alias_method :size, :count
# Iterates over the words contained in the trie.
# @yield [String] the words contained in this trie node.
# @return [self]