[Ironruby-core] Suggestion for ir.exe.config

Claudio Maccari claudio.maccari at gmail.com
Sun Feb 8 05:56:27 EST 2009


Don't you think ir.exe.config would be much readable with this syntax

 

<options>

     <ruby>

            <librarypaths>

                  <path>..\..\Languages\Ruby\libs\</path>

 
<path>..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\1.8\</p
ath>

 
<path>..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\</path>

 
<path>..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\</path>

            </librarypaths>

      </ ruby>

</options>

 

instead of this ?

 

<options>

  <set language="Ruby" option="LibraryPaths"
value="..\..\Languages\Ruby\libs\;..\..\..\External\Languages\Ruby\ruby-1.8.
6\lib\ruby\site_ruby\1.8\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ru
by\site_ruby\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\" />

</options>

 

Create a Custom Configuration Sections Using ConfigurationSection is quite
easy

http://msdn.microsoft.com/en-us/library/2tw134k3.aspx

 

cheers 

claudio

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090208/1740233d/attachment-0001.html>


More information about the Ironruby-core mailing list