Sha256: 81ad41d77be886ba88891de9cbe2a574089a1c1010c7907ec63c8cb770a21dfc

Contents?: true

Size: 396 Bytes

Versions: 19

Compression:

Stored size: 396 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
  
%w(cpf_cnpj cnpj cpf cpf_cnpj_activerecord).each {|req| require File.dirname(__FILE__) + "/brcpfcnpj/#{req}"}

%w(rubygems active_record activesupport).each {|req| require req }

ActiveRecord::Base.send :include, CpfCnpjActiveRecord

module BrCpfCnpj
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
brcpfcnpj-2.1.10 lib/brcpfcnpj.rb
brcpfcnpj-2.1.9 lib/brcpfcnpj.rb
brcpfcnpj-2.1.0 lib/brcpfcnpj.rb
brcpfcnpj-2.0.10 lib/brcpfcnpj.rb
brcpfcnpj-2.0.12 lib/brcpfcnpj.rb
brcpfcnpj-2.0.13 lib/brcpfcnpj.rb
brcpfcnpj-2.0.14 lib/brcpfcnpj.rb
brcpfcnpj-2.0.11 lib/brcpfcnpj.rb
brcpfcnpj-2.0.9 lib/brcpfcnpj.rb
brcpfcnpj-2.0.7 lib/brcpfcnpj.rb
brcpfcnpj-2.0.8 lib/brcpfcnpj.rb
brcpfcnpj-2.1.1 lib/brcpfcnpj.rb
brcpfcnpj-2.1.7 lib/brcpfcnpj.rb
brcpfcnpj-2.1.2 lib/brcpfcnpj.rb
brcpfcnpj-2.1.3 lib/brcpfcnpj.rb
brcpfcnpj-2.1.4 lib/brcpfcnpj.rb
brcpfcnpj-2.1.6 lib/brcpfcnpj.rb
brcpfcnpj-2.1.8 lib/brcpfcnpj.rb
brcpfcnpj-2.1.5 lib/brcpfcnpj.rb