lib/obscenity.rb in obscenity-1.0.0 vs lib/obscenity.rb in obscenity-1.0.1
- old
+ new
@@ -1,10 +1,14 @@
require 'obscenity/error'
require 'obscenity/config'
require 'obscenity/base'
require 'obscenity/version'
+if defined?(::RSpec)
+ require 'obscenity/rspec_matcher'
+end
+
module Obscenity extend self
attr_accessor :config
def configure(&block)
@@ -31,6 +35,6 @@
Obscenity::Base.offensive(text)
end
end
-
\ No newline at end of file
+