module RedisClient::RESP3

def dump(command, buffer = nil)

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

def dump: (Array[String] command, ?String? buffer) -> untyped

This signature was generated using 2 samples from 1 application.

def dump(command, buffer = nil)
  buffer ||= new_buffer
  command = command.flat_map do |element|
    case element
    when Hash
      element.flatten
    else
      element
    end
  end
  dump_array(command, buffer)
end