U:RDoc::AnyMethod[iI" min_by:ETI"Enumerable#min_by;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I">Returns the object in enum that gives the minimum ;TI" value from the given block.;To:RDoc::Markup::BlankLineo; ; [I"=If no block is given, an enumerator is returned instead.;T@o:RDoc::Markup::Verbatim; [I"!a = %w(albatross dog horse) ;TI"+a.min_by { |x| x.length } #=> "dog" ;T: @format0o; ; [I"EIf the +n+ argument is given, minimum +n+ elements are returned ;TI"Fas an array. These +n+ elements are sorted by the value from the ;TI"given block.;T@o; ; [I"!a = %w[albatross dog horse] ;TI"7p a.min_by(2) {|x| x.length } #=> ["dog", "horse"];T; 0: @fileI" enum.c;T:0@omit_headings_from_table_of_contents_below0I"²enum.min_by {|obj| block } -> obj enum.min_by -> an_enumerator enum.min_by(n) {|obj| block } -> array enum.min_by(n) -> an_enumerator ;T0[I"(p1 = v1);T@ FI"Enumerable;TcRDoc::NormalModule00