MutableString.ToSymbol()?<br><br>
<div class="gmail_quote">On Sun, May 11, 2008 at 5:34 AM, Peter Bacon Darwin &lt;<a href="mailto:bacondarwin@googlemail.com">bacondarwin@googlemail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-GB" vlink="purple" link="blue">
<div>
<p><span style="FONT-SIZE: 12pt; COLOR: #2b91af">It would be useful to have a helper function to clean up this kind of code.&nbsp; Or is there one and I can't find it?</span></p>
<p><span style="FONT-SIZE: 8pt; COLOR: #2b91af">&nbsp;</span></p>
<p><span style="FONT-SIZE: 8pt; COLOR: #2b91af">RubyUtils</span><span style="FONT-SIZE: 8pt">.GetConstant(context, rubyClass, <span style="COLOR: #2b91af">SymbolTable</span>.StringToId(mutableString.ConvertToString()), <span style="COLOR: blue">true</span>);</span></p>

<p><span style="FONT-SIZE: 8pt">&nbsp;</span></p>
<p>&nbsp;</p></div></div><br>_______________________________________________<br>Ironruby-core mailing list<br><a href="mailto:Ironruby-core@rubyforge.org">Ironruby-core@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/ironruby-core" target="_blank">http://rubyforge.org/mailman/listinfo/ironruby-core</a><br>
<br></blockquote></div><br>