Module: Linter
- Defined in:
- lib/linter.rb,
lib/linter/cli.rb,
lib/linter/version.rb,
lib/linter/misused_words.rb,
lib/linter/base_association.rb,
lib/linter/gender_association.rb,
lib/linter/mindset_association.rb,
lib/linter/pronoun_association.rb
Defined Under Namespace
Classes: BaseAssociation, CLI, Error, GenderAssociation, MindsetAssociation, MisusedWords, PronounAssociation
Constant Summary
collapse
- VERSION =
'0.1.15'
Class Method Summary
collapse
Class Method Details
.analyze(text, job_ad: false) ⇒ Object
.sources ⇒ Object
29
30
31
32
|
# File 'lib/linter.rb', line 29
def sources
file_path = File.join(__dir__, '../data/sources.yml')
YAML.load_file(file_path)
end
|