Class: ArticleFixtureGen::Data::WordEntry
- Inherits:
-
Dry::Struct::Value
- Object
- Dry::Struct::Value
- ArticleFixtureGen::Data::WordEntry
- Defined in:
- lib/article_fixture_gen/data/build_word_list.rb
Overview
Value object associating a “word” (non-whitespace substring of a text leaf node) with a DOM position and an index within that leaf node.
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
17 18 19 |
# File 'lib/article_fixture_gen/data/build_word_list.rb', line 17 def <=>(other) WordEntryComparator.call(self, other) end |