File: //usr/share/ri/3.0.0/system/ENV/slice-c.ri
U:RDoc::AnyMethod[iI"
slice:ETI"ENV::slice;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"JReturns a Hash of the given ENV names and their corresponding values:;To:RDoc::Markup::Verbatim; [I"IENV.replace('foo' => '0', 'bar' => '1', 'baz' => '2', 'bat' => '3')
;TI";ENV.slice('foo', 'baz') # => {"foo"=>"0", "baz"=>"2"}
;TI";ENV.slice('baz', 'foo') # => {"baz"=>"2", "foo"=>"0"}
;T:@format0o;
; [I":Raises an exception if any of the +names+ is invalid ;TI"Q(see {Invalid Names and Values}[#class-ENV-label-Invalid+Names+and+Values]):;To;; [I"dENV.slice('foo', 'bar', :bat) # Raises TypeError (no implicit conversion of Symbol into String);T;0:
@fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"3ENV.slice(*names) -> hash of name/value pairs
;T0[ I"(*args);T@FI"ENV;TcRDoc::NormalClass00