module RedisClient::RESP3

def dump_any(object, buffer)

Experimental RBS support (using type sampling data from the type_fusion project).

def dump_any: (String object, String buffer) -> untyped

This signature was generated using 4 samples from 1 application.

def dump_any(object, buffer)
  method = DUMP_TYPES.fetch(object.class) do |unexpected_class|
    if superclass = DUMP_TYPES.keys.find { |t| t > unexpected_class }
      DUMP_TYPES[unexpected_class] = DUMP_TYPES[superclass]
    else
      raise TypeError, "Unsupported command argument type: #{unexpected_class}"
    end
  end
  send(method, object, buffer)
end