lib/rtsp/response.rb
# Custom redefine to make sure all the dynamically created instance
# variables are displayed when this method is called.
#
# @return [String]
Custom redefine to make sure all the dynamically created instance
variables are displayed when this method is called.
Custom redefine to make sure all the dynamically created instance variables are displayed when this method is called .
def inspect
      me = "#<#{self.class.name}:#{self.__id__} "
      self.instance_variables.each do |variable|
        me << "#{variable}=#{instance_variable_get(variable).inspect}, "
      end
      me.sub!(/, $/, "")
      me << ">"
      me
    end
def inspect me = "#<#{self.class.name}:#{self.__id__} " self . instance_variables . each do | variable | me << "#{variable}=#{instance_variable_get(variable).inspect}, " end me . sub! ( / , $ / , "" ) me << ">" me end
Custom redefine to make sure all the dynamically created instance
variables are displayed when this method is called.
Custom redefine to make sure all the dynamically created instance variables are displayed when this method is called .
None
String