lib/cantango/configuration/adapters.rb in cantango-config-0.1.0 vs lib/cantango/configuration/adapters.rb in cantango-config-0.1.1
- old
+ new
@@ -1,8 +1,7 @@
module CanTango
class Configuration
- class Adapters < Registry
-
+ class Adapters < Registry::Base
include Singleton
def adapter name
raise "Unknown adapter #{name}" if !available_adapters.include? name.to_sym
require "cantango/adapter/#{name}"