File: //usr/share/ri/3.0.0/system/Hash/transform_values-i.ri
U:RDoc::AnyMethod[iI"transform_values:ETI"Hash#transform_values;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"0Returns a new \Hash object; each entry has:;To:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o;
; [I"A key from +self+.;To;;0; [o;
; [I"#A value provided by the block.;To:RDoc::Markup::BlankLine o;
; [I"Transform values:;To:RDoc::Markup::Verbatim; [I""h = {foo: 0, bar: 1, baz: 2}
;TI"3h1 = h.transform_values {|value| value * 100}
;TI"-h1 # => {:foo=>0, :bar=>100, :baz=>200}
;T:@format0o;
; [I"1Returns a new \Enumerator if no block given:;To;; [ I""h = {foo: 0, bar: 1, baz: 2}
;TI"]e = h.transform_values # => #<Enumerator: {:foo=>0, :bar=>1, :baz=>2}:transform_values>
;TI"(h1 = e.each { |value| value * 100}
;TI",h1 # => {:foo=>0, :bar=>100, :baz=>200};T;0:
@fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"^hash.transform_values {|value| ... } -> new_hash
hash.transform_values -> new_enumerator
;T0[ I"();T@,FI" Hash;TcRDoc::NormalClass00