You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
451 B
14 lines
451 B
# -*- encoding : utf-8 -*-
|
|
$:.unshift(File.dirname(__FILE__)) unless
|
|
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
|
|
|
%w(cpf_cnpj cnpj cpf cpf_cnpj_activerecord cnpj_validator cpf_validator).each {|req| require File.dirname(__FILE__) + "/brcpfcnpj/#{req}"}
|
|
|
|
%w(rubygems active_record active_support).each {|req| require req }
|
|
|
|
ActiveRecord::Base.send :include, CpfCnpjActiveRecord
|
|
|
|
module BrCpfCnpj
|
|
end
|
|
|