This was said me by its author, Mark Bates: "Configatron can be used anywhere in any ruby application.
All you have to do is require the configatron gem, and then start setting configuration parameters. I would choose a file in Merb that you know will only get required at start up time, and put all you configurations in there. After that you can refer to them any where in your code." So, the file where put the configuration would be 'init.rb' (and also require the gem using 'dependency'). On 23 sep, 21:07, "Michael Klishin" <[EMAIL PROTECTED]> wrote: > 2008/9/23 Kless <[EMAIL PROTECTED]>: > > > > > Configatron [1] makes configuring your applications and scripts > > incredibly easy. No longer is a there a need to use constants or > > global variables. > > > [1]http://github.com/markbates/configatron/tree/master > > Can you update Merb wiki with some example of how you use that library > with Merb applications? thank you. > -- > MK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
