File: //usr/share/ri/3.0.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::BlankLine o;
; [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