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

_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to