simple library configuration in a ruby DSL