title: What's the difference between these Ruby namespace conventions?
body: <p>So <code>Module</code> can be used in Ruby to provide namespacing in addition to mixins, as so:</p>
  
  <pre><code>module SomeNamespace
    class Animal
  
    end
  end
  
  animal = SomeNamespace::Animal.new
  </code></pre>
  
  <p>But I've also seen the following used:</p>
  
  <pre><code>module SomeNamespace
  end
  
  class SomeNamespace::Animal
  
  end
  
  animal = SomeNamespace::Animal.new
  </code></pre>
  
  <p>My question is how they're different (if they are) and which is more idiomatic Ruby?</p>