lib/phonelib.rb in phonelib-0.2.4 vs lib/phonelib.rb in phonelib-0.2.5

- old
+ new

@@ -1,13 +1,14 @@ +# main module definition module Phonelib # load gem classes autoload :Core, 'phonelib/core' autoload :Phone, 'phonelib/phone' extend Module.new { include Core } end -if defined?(Rails) +if defined?(ActiveModel) autoload :PhoneValidator, 'validators/phone_validator' end