⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby31
/
share
/
ri
/
system
/
Hash
/
View File Name :
transform_values-i.ri
U:RDoc::AnyMethod[iI"transform_values:ETI"Hash#transform_values;TF:privateo: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