class ArticleFixtureGen::Data::WordEntry

Value object associating a “word” (non-whitespace substring of a text leaf node) with a DOM position and an index within that leaf node.

Public Instance Methods

<=>(other) click to toggle source
# File lib/article_fixture_gen/data/build_word_list.rb, line 17
def <=>(other)
  WordEntryComparator.call(self, other)
end