📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 16:11:07
📂
/ (Root)
/
opt
/
alt
/
ruby33
/
share
/
ri
/
system
/
Array
📍 /opt/alt/ruby33/share/ri/system/Array
🔄 Refresh
✏️
Editing: union-i.ri
Read Only
U:RDoc::AnyMethod[iI" union:ETI"Array#union;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"[Returns a new \Array that is the union of +self+ and all given Arrays +other_arrays+; ;TI"Zduplicates are removed; order is preserved; items are compared using <tt>eql?</tt>:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"F[0, 1, 2, 3].union([4, 5], [6, 7]) # => [0, 1, 2, 3, 4, 5, 6, 7] ;TI"7[0, 1, 1].union([2, 1], [3, 1]) # => [0, 1, 2, 3] ;TI":[0, 1, 2, 3].union([3, 2], [1, 0]) # => [0, 1, 2, 3] ;T:@format0o; ; [I"4Returns a copy of +self+ if no arguments given.;T@o; ; [I"Related: Array#|.;T: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"-array.union(*other_arrays) -> new_array ;T0[ I"(*args);T@FI" Array;TcRDoc::NormalClass00
💾 Save Changes
❌ Cancel