title: reference ruby class without module name
body: <p>Is there a way in ruby to load a module containing many classes and be able to access these classes without prefixing them with the module name?  Consider foo.rb and bar.rb:</p>
  
  <p>foo.rb:</p>
  
  <pre><code>require 'bar'
  bar = BarModule::Bar.new()
  </code></pre>
  
  <p>bar.rb</p>
  
  <pre><code>module BarModule
    class Bar
    end
  end
  </code></pre>
  
  <p>Basically I'd like the ability, from foo.rb, to refer to the class "Bar" without specifying its module every time I reference it.  In java terms, I'm looking for something akin to:</p>
  
  <pre><code>import BarModule.*;
  </code></pre>
  
  <p>Anything like that exist?</p>