Last week I posted a teaser for a Ruby-based DSL for Spring configuration. Like so many things, I doubt I will ever have time to carry this through so I am posting the code here. Please run with this if you are interested.
Here's the approach I used:
RubyBeanFactoryas a subclass of
spring_config.rb) that defines a simple DSL instead of writing straight Ruby code.
If you plan to use this in production you will want to: