Sha256: a55501b6755a9cc79ed27d1297a919c53cbb591c4ed6c27b2f19cdb8127ab0da
Contents?: true
Size: 344 Bytes
Versions: 1
Compression:
Stored size: 344 Bytes
Contents
# Registry Ruby class registry for registering, and looking up classes using a key, rather than the class name. Decouples looking up classes from their name and namespace. ## Usage ```ruby class Obj include Registry end class One < Obj register :one end class Two < Obj register :two end one = Obj[:one].new two = Obj[:two].new ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
regstry-1.0.0 | README.md |