title: How can I execute a method in a module from the Rails console?
body: <p>I have a module in a file called <code>my_mod.rb</code> declared like this:</p>
  
  <pre><code>module Reports
    module MyMod
  
      def mymethod
        ...
      end
  
    end
  end
  </code></pre>
  
  <p>I just want to run <code>mymethod</code>. It's not a class method obviously, so I can't run it like:</p>
  
  <pre><code>Reports::MyMod.mymethod
  </code></pre>
  
  <p>and yet I was hoping there was some way to get the method evaluated by the parser without have to go through a bunch of module_eval and module_function stuff. It should be easier than that, shouldn't it?</p>