lib/memcached/memcached.rb
# Return the server used by a particular key.
Return the server used by a particular key.
Return the server used by a particular key .
def server_by_key(key)
    ret = Lib.memcached_server_by_key(@struct, key)
    if ret.is_a?(Array)
      string = inspect_server(ret.first) 
      Rlibmemcached.memcached_server_free(ret.first)
      string
    end
  end
def server_by_key ( key ) ret = Lib . memcached_server_by_key ( @struct , key ) if ret . is_a? ( Array ) string = inspect_server ( ret . first ) Rlibmemcached . memcached_server_free ( ret . first ) string end end
Return the server used by a particular key.
Return the server used by a particular key .
key