# File lib/bunny/queue08.rb, line 254
                def purge(opts = {})
                        # ignore the :nowait option if passed, otherwise program will hang waiting for a
                        # response that will not be sent by the server
                        opts.delete(:nowait)

            client.send_frame(
              Qrack::Protocol::Queue::Purge.new({ :queue => name, :nowait => false }.merge(opts))
            )
        
                        method = client.next_method

                        client.check_response(method,        Qrack::Protocol::Queue::PurgeOk, "Error purging queue #{name}")

                        # return confirmation
                        :purge_ok

          end