Module: Decuss

Extended by:
Decuss
Included in:
Decuss
Defined in:
lib/decuss.rb,
lib/decuss/version.rb

Constant Summary collapse

VERSION =
"0.1.2"

Instance Method Summary collapse

Instance Method Details

#wordsObject

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