Hi<br><br>I thought I created a ruby module and ruby class but I must be doing something wrong.<br><br>using RubyMethodAttributes=IronRuby.Runtime.RubyMethodAttributes;<br>using RubyModuleDefinition = IronRuby.Runtime.RubyModuleAttribute;<br>
using RubyClassDefinition = IronRuby.Runtime.RubyClassAttribute;<br>using RubyMethodDefinition = IronRuby.Runtime.RubyMethodAttribute;<br><br>namespace IronRubyMvcLibrary.Controllers<br>{<br>&nbsp;&nbsp;&nbsp; [RubyModuleDefinition(&quot;IronRubyMvc&quot;)]<br>
&nbsp;&nbsp;&nbsp; public static class IronRubyMvcModule<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [RubyClassDefinition(&quot;Controller&quot;, Extends = typeof(RubyController))]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public class RubyControllerOps<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [RubyMethodDefinition(&quot;info&quot;, RubyMethodAttributes.PublicInstance)]<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static void Info(RubyController self)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; self.ViewData().Add(&quot;Platform&quot;, &quot;IronRuby Mvc 1.0&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; }<br>}<br>
<br>I then used the classinitgenerator to create an initializer class.<br>But when I require the assembly after compiling I can&#39;t get to IronRubyMvc or the class.<br clear="all"><br>Do I need to do something else?<br>

<br>