title: Inherit initialize() method in ruby?
body: <p>I still can't figure out how to make a subclass constructor follow its parent...
  <br/>
  example:</p>
  
  <pre><code>require 'mechanize'
  
  class Scraper
      attr_accessor :agent
  
      def initialize 
      # I dont know if using instance variable is the right thing to do
      @agent = Mechanize.new 
      end
  end
  
  class ScraperA &lt; Scraper
  end
  </code></pre>
  
  <p>I want to make <code>ScraperA</code> follow its parent constructor behaviour,
  <br>
  that is
  instantiate a Mechanize object  <em>without</em> me retyping <code>Mechanize.new</code> in 
  ScraperA initialize() method. Is this possible ?</p>
  
  <p>Just want to follow DRY principle but ruby makes it hard for me ???
  <br>
  Hope not, maybe it's just my ignorance.
  Looking forward for simple solution,Tnx.</p>
  
  <p>Edit:
  <br>
  it turns out that I had empty initialize() method in ScraperA, which override the default
  initialize().
  So yeah the example is working, because no empty initialize method there.
  Sorry for my stupidity.
  Tnx.</p>