You can use

    def
    rescue
    end