Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ruby / usr / share / ri / 2.2.0 / system / Enumerable / minmax_by-i.ri
Size: Mime:
U:RDoc::AnyMethod[iI"minmax_by:ETI"Enumerable#minmax_by;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[I";Returns a two element array containing the objects in ;TI"P<i>enum</i> that correspond to the minimum and maximum values respectively ;TI"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.minmax_by { |x| x.length }   #=> ["dog", "albatross"];T:@format0:
@fileI"enum.c;T:0@omit_headings_from_table_of_contents_below0I"benum.minmax_by { |obj| block } -> [min, max]
enum.minmax_by                 -> an_enumerator
;T0[I"();T@FI"Enumerable;TcRDoc::NormalModule00