Method: Redis#get

Defined in:
lib/redis.rb

#get(key) ⇒ String

Get the value of a key.


912
913
914
915
916
# File 'lib/redis.rb', line 912

def get(key)
  synchronize do |client|
    client.call([:get, key])
  end
end