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.
23 lines
495 B
23 lines
495 B
$:.unshift(File.dirname(__FILE__)) unless
|
|
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
|
|
|
%w(dinheiro
|
|
dinheiro_util
|
|
dinheiro_active_record
|
|
excecoes
|
|
nil_class).each {|req| require File.dirname(__FILE__) + "/brdinheiro/#{req}"}
|
|
|
|
%w(bigdecimal
|
|
rubygems
|
|
active_record
|
|
active_support/all).each {|req| require req }
|
|
|
|
require 'brnumeros'
|
|
|
|
String.send(:include, DinheiroUtil)
|
|
ActiveRecord::Base.send :include, DinheiroActiveRecord
|
|
|
|
module BrDinheiro
|
|
end
|
|
|