ok
Direktori : /opt/cpanel/ea-ruby27/root/usr/share/gems/doc/rack-2.2.8/ri/Rack/QueryParser/Params/ |
Current File : //opt/cpanel/ea-ruby27/root/usr/share/gems/doc/rack-2.2.8/ri/Rack/QueryParser/Params/to_h-i.ri |
U:RDoc::AnyMethod[iI" to_h:ETI"#Rack::QueryParser::Params#to_h;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"JRecursively unwraps nested `Params` objects and constructs an object ;TI"Hof the same shape, but using the objects' internal representations ;TI"L(Ruby hashes) in place of the objects. The result is a hash consisting ;TI"purely of Ruby primitives.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Mutation warning! ;TI" ;TI"H1. This method mutates the internal representation of the `Params` ;TI"5 objects in order to save object allocations. ;TI" ;TI"C2. The value you get back is a reference to the internal hash ;TI"$ representation, not a copy. ;TI" ;TI"I3. Because the `Params` object's internal representation is mutable ;TI"H through the `#[]=` method, it is not thread safe. The result of ;TI"I getting the hash representation while another thread is adding a ;TI"' key to it is non-deterministic.;T:@format0: @fileI"lib/rack/query_parser.rb;T:0@omit_headings_from_table_of_contents_below000[[I"to_params_hash;To;; [ ;@ ;0I"();T@ FI"Params;TcRDoc::NormalClass00