lib/celsius/adapter.rb in celsius-0.2.0 vs lib/celsius/adapter.rb in celsius-0.4.0

- old
+ new

@@ -1,5 +1,13 @@ +require "celsius" +require "celsius/i18n" + class Celsius::Adapter + include Celsius::I18n + + def initialize(*args) + self.class.load_locales_from_directory("#{File.dirname(__FILE__)}/locales") + end end