Class: Awestruct::Deployers

Inherits:
Hash
  • Object
show all
Defined in:
lib/awestruct/deployers.rb

Class Method Summary collapse

Class Method Details

.instanceObject



5
6
7
# File 'lib/awestruct/deployers.rb', line 5

def self.instance
  @instance ||= Deployers.new
end

.register(key, cls) ⇒ Object



9
10
11
# File 'lib/awestruct/deployers.rb', line 9

def self.register( key, cls )
  Deployers.instance[ key.to_sym ] = cls
end