lib/rtsp/message.rb
# Creates a new message based on the given method type and URI.
#
# @param [Symbol] method
# @param [Array] args
# @return [RTSP::Message]
Creates a new message based on the given method type and URI.
Creates a new message based on the given method type and URI .
def method_missing(method, *args)
        request_uri = args.first
        if @message_types.include? method
          self.new(method, request_uri)
        else
          super
        end
      end
def method_missing ( method , * args ) request_uri = args . first if @message_types . include? method self . new ( method , request_uri ) else super end end
Creates a new message based on the given method type and URI.
Creates a new message based on the given method type and URI .
None
RTSP::Message
method
args
None