You basically have 2 options...

You can handle the exception only at parent level and not bother with 
local error trapping:
______________________
begin

  def method1
    #Content
  end

  def method2
    #Content
  end

  method1
  method2

rescue
  #Handle exception
end
______________________

Or you could handle each exception at a local level and then hand it up 
to the next handler:
______________________
begin

  def method1
    #Content
  rescue
    #Do something here
    raise #Pass the error up to the next level
  end

  def method2
    #Content
  rescue
    #Do something here
    raise #Pass the error up to the next level
  end

  method1
  method2

rescue
  #Handle exception
end
______________________

You don't strictly need a class, a parent method would do but building a 
class system allows you to avoid rewriting the same code repeatedly by 
dealing with variables as arguments and leaving the surrounding 
structure as part of your methods. For more info on this, look up DRY 
(Don't Repeat Yourself).

-- 
Posted via http://www.ruby-forum.com/.