lib/rtsp/client.rb
def ensure_session
      if @session.empty?
        raise RTSP::Error, "Session number not retrieved from server yet.  Run SETUP first."
      end
    end
# Ensures that +@session+ is set before continuing on.
#
# @raise [RTSP::Error] Raises if @session isn't set.
Ensures that +@session+ is set before continuing on.
Ensures that + @session + is set before continuing on .
def ensure_session
      if @session.empty?
        raise RTSP::Error, "Session number not retrieved from server yet.  Run SETUP first."
      end
    end
def ensure_session if @session . empty? raise RTSP :: Error , "Session number not retrieved from server yet.  Run SETUP first." end end
Ensures that +@session+ is set before continuing on.
Ensures that + @session + is set before continuing on .
[RTSP::Error] Raises if @session isn't set.
[ RTSP :: Error ] Raises if @session isn ' t set .