Class: Linter::PronounAssociation
- Inherits:
-
BaseAssociation
- Object
- BaseAssociation
- Linter::PronounAssociation
- Defined in:
- lib/linter/pronoun_association.rb
Constant Summary collapse
- FULL_WORD =
true
Constants inherited from BaseAssociation
Class Method Summary collapse
Methods inherited from BaseAssociation
add_recommendation, analyze, recommendation_file, word_count
Class Method Details
.wordlists ⇒ Object
7 8 9 10 |
# File 'lib/linter/pronoun_association.rb', line 7 def self.wordlists file_path = File.join(__dir__,'../../data/pronoun_association_wordlist.yml') @wordlists ||= YAML.load_file(file_path) end |