title: Ruby: NoMethodError, but why?
body: <p>I was working on a simple Pi Generator while learning Ruby, but I kept getting NoMethodError on RubyMine 6.3.3, so I decided to make a new project and new class with as simple as possible, and I <strong>STILL</strong> get NoMethodError. Any reason?</p>
  
  <pre><code>class Methods
    def hello (player)
      print "Hello, " &lt;&lt; player
    end
    hello ("Annie")
  end
  </code></pre>
  
  <p>And the error I get is:</p>
  
  <pre><code>C:/Users/Annie the Eagle/Documents/Coding/Ruby/Learning Environment/methods.rb:5:in `&lt;class:Methods&gt;': undefined method `hello' for Methods:Class (NoMethodError)
  </code></pre>