lib/hackers-client.rb
def to_s
        msg = @type.nil? ? "Unknown" : @type
        msg += ": #{@description}" unless @description.nil?
        return msg
      end
##
# Returns the description of the exception as a string
Returns the description of the exception as a string
Returns the description of the exception as a string
def to_s
        msg = @type.nil? ? "Unknown" : @type
        msg += ": #{@description}" unless @description.nil?
        return msg
      end
def to_s msg = @type . nil? ? "Unknown" : @type msg += ": #{@description}" unless @description . nil? return msg end
Returns the description of the exception as a string
Returns the description of the exception as a string