JezK
Edit File: compare_and_set-i.ri
U:RDoc::AnyMethod[iI"compare_and_set:EFI"%Concurrent::Atom#compare_and_set;FF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"KAtomically sets the value of atom to the new value if and only if the ;TI"Icurrent value of the atom is identical to the old value and the new ;TI"Ivalue successfully validates against the (optional) validator given ;TI"at construction.;To:RDoc::Markup::BlankLine o; ; [I";@param [Object] old_value The expected current value. ;TI"6@param [Object] new_value The intended new value.;T@o; ; [I"?@return [Boolean] True if the value is changed else false.;T: @fileI"lib/concurrent/atom.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(old_value, new_value);T@FI" Atom;FcRDoc::NormalClass00