DEV Community

Discussion on: Make a Ruby gem configurable

Collapse
 
vinistock profile image
Vinicius Stock • Edited

Thanks for the heads up! Fixed the lambda syntax. I like the DSL approach too. The only inconvenience is that editors usually won't autocomplete the options for you, but with proper docs that's easy to overcome.

I actually wrote a bit on writing DSLs with instance_eval :)