lib/ninja_model/adapters/adapter_manager.rb in ninja-model-0.8.1 vs lib/ninja_model/adapters/adapter_manager.rb in ninja-model-0.9.0
- old
+ new
@@ -1,9 +1,11 @@
module NinjaModel
module Adapters
class AdapterManager
+
class_attribute :registered
self.registered = {}
+
class << self
def registered?(name)
registered.key?(name.to_sym)
end