Class: ProfanityFilterEngine::AllowDuplicateCharactersStrategy

Inherits:
ExactMatchStrategy show all
Defined in:
lib/profanity-filter/engines/allow_duplicate_characters_strategy.rb

Constant Summary collapse

DEFAULT_IGNORE_CASE =
true

Constants inherited from ExactMatchStrategy

ExactMatchStrategy::DELIMITER

Constants inherited from RegexpStrategy

RegexpStrategy::DEFAULT_DELIMITER

Instance Attribute Summary

Attributes inherited from ExactMatchStrategy

#delimiter, #ignore_case

Attributes inherited from RegexpStrategy

#dictionary, #profanity_regexp

Method Summary

Methods inherited from ExactMatchStrategy

#initialize

Methods inherited from RegexpStrategy

#initialize, #profane?, #profane_words

Methods inherited from Component

#profane?, #profane_words, #profanity_count

Constructor Details

This class inherits a constructor from ProfanityFilterEngine::ExactMatchStrategy