lib/biggs.rb in biggs-0.3.3 vs lib/biggs.rb in biggs-0.4.0
- old
+ new
@@ -5,16 +5,15 @@
module Biggs
class << self
def formats
@@formats ||= YAML.load_file(File.join(File.dirname(__FILE__), '..', 'formats.yml')) || {}
end
-
+
def country_names
@@country_names ||= YAML.load_file(File.join(File.dirname(__FILE__), '..', 'country_names.yml')) || {}
end
end
end
if defined?(ActiveRecord) and defined?(ActiveRecord::Base) and !ActiveRecord::Base.respond_to?(:biggs_formatter)
require 'biggs/activerecord'
- ActiveRecord::Base.send :include, Biggs::ActiveRecordAdapter
-end
\ No newline at end of file
+end