Sha256: 23b8b6e4296b63d8da26a7620de06f54d50f638232d24adecc5ce710bc6e29fa

Contents?: true

Size: 207 Bytes

Versions: 29

Compression:

Stored size: 207 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 & 1 rubygems

Version Path
awestruct-0.6.7 lib/awestruct/deployers.rb
awestruct-0.6.6 lib/awestruct/deployers.rb
awestruct-0.6.5 lib/awestruct/deployers.rb
awestruct-0.6.4 lib/awestruct/deployers.rb
awestruct-0.6.3 lib/awestruct/deployers.rb
awestruct-0.6.2 lib/awestruct/deployers.rb
awestruct-0.6.1 lib/awestruct/deployers.rb
awestruct-0.6.0 lib/awestruct/deployers.rb
awestruct-0.6.0.RC1 lib/awestruct/deployers.rb
awestruct-0.6.0.alpha4 lib/awestruct/deployers.rb
awestruct-0.6.0.alpha3 lib/awestruct/deployers.rb
awestruct-0.6.0.alpha1 lib/awestruct/deployers.rb
awestruct-0.5.7 lib/awestruct/deployers.rb
awestruct-0.5.7.RC2 lib/awestruct/deployers.rb
awestruct-0.5.7.RC1 lib/awestruct/deployers.rb
awestruct-0.5.6 lib/awestruct/deployers.rb
awestruct-0.5.6.beta9 lib/awestruct/deployers.rb
awestruct-0.5.6.beta8 lib/awestruct/deployers.rb
awestruct-0.5.6.beta7 lib/awestruct/deployers.rb
awestruct-0.5.6.beta6 lib/awestruct/deployers.rb