Current File : //proc/self/root/kunden/usr/share/gems/doc/memcache-client-1.8.5/ri/MemCache/cas-i.ri
U:RDoc::AnyMethod[iI"cas:ETI"MemCache#cas;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[I"I"cas" is a check and set operation which means "store this data but ;TI"Ionly if no one else has updated since I last fetched it."  This can ;TI"-be used as a form of optimistic locking.;To:RDoc::Markup::BlankLineo;
;	[I"!Works in block form like so:;To:RDoc::Markup::Verbatim;	[I"&cache.cas('some-key') do |value|
;TI"  value + 1
;TI"	end
;T:@format0o;
;	[	I"Returns: ;TI"?+nil+ if the value was not found on the memcached server. ;TI"4+STORED+ if the value was updated successfully ;TI"G+EXISTS+ if the value was updated by someone else since last fetch;T:
@fileI"lib/memcache.rb;T:0@omit_headings_from_table_of_contents_below00I"
value;T[I"(key, expiry=0, raw=false);T@FI"
MemCache;TcRDoc::NormalClass00