[Nitro] Nitro Configuration object

Jonathan Buch john at oxyliquit.de
Fri Dec 8 08:10:15 EST 2006


Hi,

> Could someone please explain to me how to use the Nitro::Configuration
> object. It is supposed to replace configuration options in Runner,
> Server etc, but I cannot find a clue on how it is used...Examples
> including adapter and mode settings would be most welcome :)

usage of Configuration (how I use it, anyway):

* put all kinds of stuff in conf/(debug|live).rb
   example:
     Og.manager_options = { ... }
     Nitro::Compiler.mixin_get_parameters = false
* call Configuration.load in run.rb right before Og.run/Nitro.run

Jo

-- 
Feel the love
http://pinkjuice.com/pics/ruby.png


More information about the Nitro-general mailing list