Class: Linter::PronounAssociation

Inherits:
BaseAssociation show all
Defined in:
lib/linter/pronoun_association.rb

Constant Summary collapse

FULL_WORD =
true

Constants inherited from BaseAssociation

BaseAssociation::SKIP_WORDS

Class Method Summary collapse

Methods inherited from BaseAssociation

add_recommendation, analyze, recommendation_file, word_count

Class Method Details

.wordlistsObject



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