title: Ruby pass self as instance in initialize
body: <pre><code>def initialize()
    @attribute = AnotherClass.new(self)
  end
  </code></pre>
  
  <p>I am going to ruby from python. In python, I know I can pass self as an object to a function.
  Now, I want to pass self to another class's initialize method. How can I do that?</p>