]> git.openstreetmap.org Git - rails.git/blob - lib/spam_scorer.rb
Move into submodule ahead of new type of scorer
[rails.git] / lib / spam_scorer.rb
1 # frozen_string_literal: true
2
3 module SpamScorer
4   SPAMMY_PHRASES = [
5     "Business Description:", "Additional Keywords:"
6   ].freeze
7
8   def self.new_from_rich_text(text)
9     self::RichText.new(text)
10   end
11 end