lib/memcached-server/client.rb
def prepend(key, bytes, data_block)
      command = "prepend #{key} #{bytes}\n#{data_block}\n"
      @server.puts(command)

      return @server.gets()
    end
# Sends the server a prepend command
# 
# @param key [String] The key of the item to store
# @param bytes [Integer] The byte size of <data_block>
# @param data_block [String] Is a chunk of arbitrary 8-bit data of length <bytes> 
# @return [String] The reply that describes the result of the operation
Sends the server a prepend command
Sends the server a prepend command
def prepend(key, bytes, data_block)
      command = "prepend #{key} #{bytes}\n#{data_block}\n"
      @server.puts(command)
      return @server.gets()
    end
def prepend ( key , bytes , data_block ) command = "prepend #{key} #{bytes}\n#{data_block}\n" @server . puts ( command ) return @server . gets ( ) end
Sends the server a prepend command
Sends the server a prepend command
The reply that describes the result of the operation
The reply that describes the result of the operation
String
key
The key of the item to store
The key of the item to store
bytes
The byte size of 
The byte size of
data_block
None