JezK
Edit File: new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"Concurrent::Atom::new;FT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"4Create a new atom with the given initial value.;To:RDoc::Markup::BlankLine o; ; [I"-@param [Object] value The initial value ;TI"?@param [Hash] opts The options used to configure the atom ;TI"L@option opts [Proc] :validator (nil) Optional proc used to validate new;To:RDoc::Markup::Verbatim; [I"Hvalues. It must accept one and only one argument which will be the ;TI"Iintended new value. The validator will return true if the new value ;TI"Jis acceptable else return false (preferrably) or raise an exception. ;T:@format0o; ; [I"@!macro deref_options;T@o; ; [I"I@raise [ArgumentError] if the validator is not a `Proc` (when given);T: @fileI"lib/concurrent/atom.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(value, opts = {});T@TI" Atom;FcRDoc::NormalClass00