Module: Decuss
Constant Summary collapse
- VERSION =
"0.1.2"
Instance Method Summary collapse
-
#words ⇒ Object
Find all swear words from a list of rude words.
Instance Method Details
#words ⇒ Object
Find all swear words from a list of rude words
9 10 11 12 13 |
# File 'lib/decuss.rb', line 9 def words path = File.join(__dir__, 'decuss/config/rudewords.yml') yaml = YAML.load_file(path) return yaml end |