class Redis::Distributed

def ttl(key)

Get the time to live (in seconds) for a key.
def ttl(key)
  node_for(key).ttl(key)
end