title: What does `def self.function` name mean?
body: <p>Can anyone explain to me what the meaning of adding <code>self</code> to the method definition is? Is it similar to the <code>this</code> keyword in java?  </p>