HEX
Server: Apache
System: Linux sxb1plzcpnl440011.prod.sxb1.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: xfp2mtarcm67 (7705020)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: //opt/alt/ruby32/share/gems/doc/rest-client-2.1.0/ri/RestClient/ParamsArray/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"!RestClient::ParamsArray::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"M@param array [Array<Array>] An array of parameter key,value pairs. These;To:RDoc::Markup::Verbatim;	[I"Ipairs may be 2 element arrays [key, value] or single element hashes
;TI"K{key => value}. They may also be single element arrays to represent a
;TI"key with no value.
;T:@format0o;
;	[I"
@example;To;;	[I"A>> ParamsArray.new([[:foo, 123], [:foo, 456], [:bar, 789]])
;TI"7This will be encoded as "foo=123&foo=456&bar=789"
;T;0o;
;	[I"
@example;To;;	[I".>> ParamsArray.new({foo: 123, bar: 456})
;TI"LThis is valid, but there's no reason not to just use the Hash directly
;TI"instead of a ParamsArray.;T;0:
@fileI"#lib/restclient/params_array.rb;T:0@omit_headings_from_table_of_contents_below000[I"(array);T@"FI"ParamsArray;TcRDoc::NormalClass00