# File lib/moneta/adapters/tokyotyrant.rb, line 71 def create(key, value, options = {}) if @native begin # Native client throws an exception @backend.putkeep(key, pack(value)) rescue TokyoTyrantError false end else @backend.putkeep(key, pack(value)) end end