title: Create a method that can initialize a new object from another class
body: <p>What is the correct structure to be able to call a class from another class?</p>
  
  <p>I can call <code>MyObject.new</code> by using <code>MyModule::MyClass::MyObject.new()</code>
  However, I would prefer to call it using:</p>
  
  <p><code>MyModule::MyClass.myobject.new()</code></p>
  
  <p>How do I structure my code to by able to do this? </p>
  
  <pre><code>module MyModule
    class MyClass
       class MyObject
          def initialize(value)
            @value = value
          end
  
          def method1
            "This is a #{value}"
          end
       end
    end
  end
  </code></pre>