# File lib/memcache.rb, line 248 def add_or_get(key, value, opts = {}) # Try to add, but if that fails, get the existing value. add(key, value, opts) || get(key) end