<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I agree! What's being done presently is using a class/module as a<br>global variable store. This is good case of how Ruby can somtimes be
<br>too flexible for it's own good. If you want globals then use a global<br>var. eg.<br><br> $nitro.server.root_dir = my_dir</blockquote><div><br>this is *exactly* what I have said...<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
But I still think this probaly could be done better (albiet with a<br>little more work) w/o globals via IOC.</blockquote><div><br>I think IOC will make things unnecessarily complicated...<br><br><br>Anyway, I will not touch the current configuration system for the time being (until someone suggests a clearly better alternative).
<br><br>-g.<br></div></div><br>-- <br><a href="http://blog.gmosx.com">http://blog.gmosx.com</a><br><a href="http://cull.gr">http://cull.gr</a><br><a href="http://www.joy.gr">http://www.joy.gr</a><br><a href="http://nitroproject.org">
http://nitroproject.org</a>