HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/Kernel/Array-i.ri
U:RDoc::AnyMethod[iI"
Array:ETI"Kernel#Array;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"Returns +arg+ as an Array.;To:RDoc::Markup::BlankLineo;
;	[I"OFirst tries to call <code>to_ary</code> on +arg+, then <code>to_a</code>. ;TI"LIf +arg+ does not respond to <code>to_ary</code> or <code>to_a</code>, ;TI"3returns an Array of length 1 containing +arg+.;T@o;
;	[I"NIf <code>to_ary</code> or <code>to_a</code> returns something other than ;TI""an Array, raises a TypeError.;T@o:RDoc::Markup::Verbatim;	[
I"'Array(["a", "b"])  #=> ["a", "b"]
;TI",Array(1..5)        #=> [1, 2, 3, 4, 5]
;TI"-Array(key: :value) #=> [[:key, :value]]
;TI"Array(nil)         #=> []
;TI"Array(1)           #=> [1];T:@format0:
@fileI"
object.c;T:0@omit_headings_from_table_of_contents_below0I"Array(arg)    -> array
;T0[I"	(p1);T@FI"Kernel;TcRDoc::NormalModule00