class Rake::Application

def has_cause?(ex) # :nodoc:

:nodoc:
def has_cause?(ex) # :nodoc:
  ex.respond_to?(:cause) && ex.cause
end