lib/rambling/trie/readers/reader.rb in rambling-trie-2.3.1 vs lib/rambling/trie/readers/reader.rb in rambling-trie-2.4.0

- old
+ new

@@ -4,13 +4,11 @@ module Trie module Readers # Base class for all readers. class Reader # Yields each word read from given file. - # @abstract Subclass and override {#each_word} to fit to a particular - # file format. - # @param [String] filepath the full path of the file to load the words - # from. + # @abstract Subclass and override {#each_word} to fit to a particular file format. + # @param [String] filepath the full path of the file to load the words from. # @yield [String] Each line read from the file. # @return [self] def each_word filepath raise NotImplementedError end