Sha256: 24cb7695eded510a72a7e779af80ce0168d7428e35c74d94efb41156d88fa8c9
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
module ConfCtl module Swpins::Spec # @param name [Symbol] # @param klass [Class] def self.register(name, klass) @specs ||= {} @specs[name] = klass end # @param name [Symbol] # @return [Class] def self.for(name) @specs[name] end end module Swpins::Specs; end end require_rel 'specs'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
confctl-2.0.0 | lib/confctl/swpins/spec.rb |
confctl-1.0.0 | lib/confctl/swpins/spec.rb |