Sha256: 89519133b1bdedbb3bed486a79bb7a84373601d5224f316f07268501786ea6f8

Contents?: true

Size: 208 Bytes

Versions: 29

Compression:

Stored size: 208 Bytes

Contents

module Awestruct

  class Deployers < Hash
    def self.instance
      @instance ||= Deployers.new
    end

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

  end

end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
awestruct-0.4.2.x8 lib/awestruct/deployers.rb
awestruct-0.4.2.x7 lib/awestruct/deployers.rb
awestruct-0.4.2.x6 lib/awestruct/deployers.rb
awestruct-0.4.2.x5 lib/awestruct/deployers.rb
awestruct-0.4.2.x4 lib/awestruct/deployers.rb
awestruct-0.4.2.x3 lib/awestruct/deployers.rb
awestruct-0.4.2.x2 lib/awestruct/deployers.rb
awestruct-0.4.2.x1 lib/awestruct/deployers.rb
awestructx-0.4.1.x1 lib/awestruct/deployers.rb