lib/phonelib.rb in phonelib-0.2.9 vs lib/phonelib.rb in phonelib-0.3.0
- old
+ new
@@ -8,8 +8,6 @@
extend Module.new {
include Core
}
end
-if defined?(ActiveModel)
- autoload :PhoneValidator, 'validators/phone_validator'
-end
+autoload :PhoneValidator, 'validators/phone_validator' if defined? ActiveModel