lib/teamster/base_adapter.rb in teamster-0.6.1 vs lib/teamster/base_adapter.rb in teamster-0.7.0
- old
+ new
@@ -4,11 +4,11 @@
def self.included(base)
base.extend ClassMethods
end
module ClassMethods
- def register(klass)
- Teamster::Core::App.use_adapter klass
+ def register(klass, name)
+ Teamster::Core::App.use_adapter klass, name
end
def has_helpers(*adapters)
if adapters.size > 0
instance_eval "def has_helper?; true end"