title: Ruby handle error in child class first
body: <p>Is it possible in ruby to have a parent class method that handles an exception, and a child that will handle the error first if the child class is used.</p>
  
  <p>In other words:</p>
  
  <pre><code>class Parent
    def eat_apples(param)
      puts "eat apples #{param}"
      raise "pooey"
  
    rescue =&gt; e
      puts "parent error handler"
    end
  end
  
  
  class Child &lt; Parent
    def eat_apples(param)
      super(param)
  
    rescue =&gt; e
      puts "child error handler"
    end
  end
  </code></pre>
  
  <p>is it possible to call <code>Child.new.eat_apples('something')</code> and have the child handle the error before the parent?</p>
  
  <p>I pretty much want to do the same thing in the parent/child class, but the functionality differs at the error handling step</p>