def gather(*args, &block)
      options = args.shift || {}
      output {
        if block_given?
          @xml.Gather(options) { block.call}
        else
          @xml.Gather(options)
        end
      }
    end
def gather(*args, &block)
      options = args.shift || {}
      output {
        if block_given?
          @xml.Gather(options) { block.call}
        else
          @xml.Gather(options)
        end
      }
    end
The Gather verb collects digits entered by a caller into their telephone keypad.
 When the caller is done entering data, Twilio submits that data to a provided URL,
 as either a HTTP GET or POST request, just like a web browser submits data from an HTML form.

 Options (see http://www.twilio.com/docs/api_reference/TwiML/gather) are passed in as a hash

 Examples:
   Twilio::Verb.gather
   Twilio::Verb.gather :action => 'http://foobar.com'
   Twilio::Verb.gather :finishOnKey => '*'
   Twilio::Verb.gather :action => 'http://foobar.com', :finishOnKey => '*'

 Gather also lets you nest the Play, Say, and Pause verbs:

   verb = Twilio::Verb.new { |v|
     v.gather(:action => '/process_gather', :method => 'GET) {
       v.say 'Please enter your account number followed by the pound sign'
     }
     v.say "We didn't receive any input. Goodbye!"
   }
   verb.response # represents the final xml output