Ruby gem
configem
A Ruby mixin that adds configuration behavior to objects that need a small, reusable configuration surface.
Ruby
View library
configem is a Ruby mixin for adding configuration functionality. It gives libraries and application objects a conventional place to define and read settings.
Configuration code is easy to underestimate until every caller invents a slightly different shape. A small mixin can keep that behavior consistent while letting the rest of the library stay focused on its real job.