# File lib/redis.rb, line 643 def setnx(key, value) synchronize do |client| client.call([:setnx, key, value], &_boolify) end end