module Unswear
Constants
- VERSION
Public Instance Methods
version()
click to toggle source
Return Unswear's version
# File lib/unswear.rb, line 17 def version Unswear::VERSION end
words()
click to toggle source
List all swear words
# File lib/unswear.rb, line 10 def words path = File.join(__dir__, '../config/blacklist.yml') yaml = YAML.load_file(path) return yaml end