Class: Awestruct::Deployers
- Inherits:
-
Hash
- Object
- Hash
- Awestruct::Deployers
- Defined in:
- lib/awestruct/deployers.rb
Class Method Summary collapse
Class Method Details
.instance ⇒ Object
4 5 6 |
# File 'lib/awestruct/deployers.rb', line 4 def self.instance @instance ||= Deployers.new end |
.register(key, cls) ⇒ Object
8 9 10 |
# File 'lib/awestruct/deployers.rb', line 8 def self.register( key, cls ) Deployers.instance[ key.to_sym ] = cls end |