Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Set
/
//opt/alt/ruby27/share/ri/system/Set/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI" Set::new;TT:privateo: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::BlankLine o; ; [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