title: Ruby best practice: working with classes
body: <p>See the example below, i suppose it is best to use the second method but the first also works.
  Which method is best and what are the consquences of using the other ?</p>
  
  <pre><code>class Test 
    def start 
      p "started"
    end
    test = Test.new 
    test.start 
  end 
  
  class Test2
    def start 
      p "started"
    end
  end
  test2 = Test2.new 
  test2.start 
  </code></pre>