HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/Array/values_at-i.ri
U:RDoc::AnyMethod[iI"values_at:ETI"Array#values_at;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I":Returns a new \Array whose elements are the elements ;TI"/of +self+ at the given \Integer +indexes+.;To:RDoc::Markup::BlankLineo;
;	[I"FFor each positive +index+, returns the element at offset +index+:;To:RDoc::Markup::Verbatim;	[I"a = [:foo, 'bar', 2]
;TI"&a.values_at(0, 2) # => [:foo, 2]
;T:@format0o;
;	[I"=The given +indexes+ may be in any order, and may repeat:;To;;	[I"a = [:foo, 'bar', 2]
;TI"?a.values_at(2, 0, 1, 0, 2) # => [2, :foo, "bar", :foo, 2]
;T;
0o;
;	[I"4Assigns +nil+ for an +index+ that is too large:;To;;	[I"a = [:foo, 'bar', 2]
;TI":a.values_at(0, 3, 1, 3) # => [:foo, nil, "bar", nil]
;T;
0o;
;	[I"6Returns a new empty \Array if no arguments given.;T@o;
;	[I"JFor each negative +index+, counts backward from the end of the array:;To;;	[I"a = [:foo, 'bar', 2]
;TI"(a.values_at(-1, -3) # => [2, :foo]
;T;
0o;
;	[I"4Assigns +nil+ for an +index+ that is too small:;To;;	[I"a = [:foo, 'bar', 2]
;TI"Ba.values_at(0, -5, 1, -6, 2) # => [:foo, nil, "bar", nil, 2]
;T;
0o;
;	[I"5The given +indexes+ may have a mixture of signs:;To;;	[I"a = [:foo, 'bar', 2]
;TI";a.values_at(0, -2, 1, -1) # => [:foo, "bar", "bar", 2];T;
0:
@fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I",array.values_at(*indexes) -> new_array
;T0[I"(*args);T@=FI"
Array;TcRDoc::NormalClass00