Manufacturable is a factory that builds self-registering objects. It leverages self-registration to move factory setup from case statements, hashes, and configuration files to a simple DSL within the instantiable classes themselves. Giving classes the responsibility of registering themselves with the factory does two things. It allows the factory to be extended without modification. And, it leaves the factory with only one responsibility: building objects.
Required Ruby Version
>= 2.3.0
Authors
Alan Ridlehoover, Fito von Zastrow
Versions
-
2.2.0
-
source
- 2.2.0 source April 20, 2022 (13.5 KB)
-
-
2.1.0
-
source
- 2.1.0 source April 13, 2022 (12.5 KB)
-
-
2.0.0
-
source
- 2.0.0 source September 06, 2021 (12.5 KB)
-
-
1.6.0
-
source
- 1.6.0 source September 06, 2021 (12.5 KB)
-
-
1.5.1
-
source
- 1.5.1 source September 05, 2021 (12.5 KB)
-