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/Set/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"
Set::new;TT:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[I"GCreates a new set containing the elements of the given enumerable ;TI"object.;To:RDoc::Markup::BlankLineo;
;	[I"GIf a block is given, the elements of enum are preprocessed by the ;TI"given block.;T@o:RDoc::Markup::Verbatim;	[
I">Set.new([1, 2])                       #=> #<Set: {1, 2}>
;TI">Set.new([1, 2, 1])                    #=> #<Set: {1, 2}>
;TI"DSet.new([1, 'c', :s])                 #=> #<Set: {1, "c", :s}>
;TI"GSet.new(1..5)                         #=> #<Set: {1, 2, 3, 4, 5}>
;TI"@Set.new([1, 2, 3]) { |x| x * x }      #=> #<Set: {1, 4, 9}>;T:@format0:
@fileI"lib/set.rb;T:0@omit_headings_from_table_of_contents_below00I"o;T[I"(enum = nil);T@FI"Set;TcRDoc::NormalClass00