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

  1. 2.2.0 April 20, 2022 (13.5 KB)
  2. 2.1.0 April 13, 2022 (12.5 KB)
  3. 2.0.0 September 06, 2021 (12.5 KB)
  4. 1.6.0 September 06, 2021 (12.5 KB)
  5. 1.5.1 September 05, 2021 (12.5 KB)
Show all versions (16 total)

SHA 256 checksum