lib/cantango/configuration/adapters.rb in cantango-0.8.5.1 vs lib/cantango/configuration/adapters.rb in cantango-0.8.6
- old
+ new
@@ -1,11 +1,11 @@
module CanTango
class Configuration
class Adapters < Registry
-
+
include Singleton
-
+
def adapter name
raise "Unknown adapter #{name}" if !available_adapters.include? name.to_sym
require "cantango/adapter/#{name}"
end
@@ -14,10 +14,9 @@
end
def available_adapters
[:moneta, :compiler]
end
-
end
end
end