Class: SourceMonitor::ItemContent
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- SourceMonitor::ItemContent
- Defined in:
- app/models/source_monitor/item_content.rb
Instance Method Summary collapse
Instance Method Details
#total_word_count ⇒ Object
17 18 19 |
# File 'app/models/source_monitor/item_content.rb', line 17 def total_word_count [ scraped_word_count, feed_word_count ].compact.max || 0 end |