Module: Profanity

Extended by:
Profanity
Included in:
Profanity
Defined in:
lib/profanity.rb,
lib/profanity/base.rb,
lib/profanity/config.rb,
lib/profanity/version.rb

Defined Under Namespace

Classes: Base, Config

Constant Summary collapse

VERSION =
"0.1.1"

Instance Method Summary collapse

Instance Method Details

#check(text) ⇒ Object



7
8
9
# File 'lib/profanity.rb', line 7

def check(text)
  Profanity::Base.profane?(text)
end