PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Enumerable
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the object in <em>enum</em> that gives the maximum value from the given block. - !ruby/struct:SM::Flow::VERB body: " a = %w(albatross dog horse)\n a.max_by {|x| x.length } #=> "albatross"\n" full_name: Enumerable#max_by is_singleton: false name: max_by params: | enum.max_by {| obj| block } => obj visibility: public
[-] any%3f-i.yaml
[edit]
[-] reject-i.yaml
[edit]
[-] minmax-i.yaml
[edit]
[-] drop-i.yaml
[edit]
[-] drop_while-i.yaml
[edit]
[-] min-i.yaml
[edit]
[+]
Enumerator
[-] cdesc-Enumerable.yaml
[edit]
[-] one%3f-i.yaml
[edit]
[-] partition-i.yaml
[edit]
[-] enum_slice-i.yaml
[edit]
[-] to_set-i.yaml
[edit]
[-] enum_cons-i.yaml
[edit]
[-] inject-i.yaml
[edit]
[-] find-i.yaml
[edit]
[-] sort_by-i.yaml
[edit]
[-] find_index-i.yaml
[edit]
[-] none%3f-i.yaml
[edit]
[-] group_by-i.yaml
[edit]
[-] enum_with_index-i.yaml
[edit]
[-] take-i.yaml
[edit]
[-] include%3f-i.yaml
[edit]
[-] cycle-i.yaml
[edit]
[-] min_by-i.yaml
[edit]
[-] all%3f-i.yaml
[edit]
[-] reverse_each-i.yaml
[edit]
[-] each_cons-i.yaml
[edit]
[-] grep-i.yaml
[edit]
[-] each_slice-i.yaml
[edit]
[-] map-i.yaml
[edit]
[-] member%3f-i.yaml
[edit]
[-] max-i.yaml
[edit]
[-] entries-i.yaml
[edit]
[-] to_a-i.yaml
[edit]
[-] take_while-i.yaml
[edit]
[-] collect-i.yaml
[edit]
[+]
..
[-] find_all-i.yaml
[edit]
[-] select-i.yaml
[edit]
[-] sort-i.yaml
[edit]
[-] count-i.yaml
[edit]
[-] max_by-i.yaml
[edit]
[-] minmax_by-i.yaml
[edit]
[-] each_with_index-i.yaml
[edit]
[-] detect-i.yaml
[edit]
[-] first-i.yaml
[edit]
[-] zip-i.yaml
[edit]
[-] reduce-i.yaml
[edit]