Skip to content

Instantly share code, notes, and snippets.

@banister
Created June 2, 2012 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save banister/2858553 to your computer and use it in GitHub Desktop.
Save banister/2858553 to your computer and use it in GitHub Desktop.
[16] (pry) main: 0> ls -M Enumerable
Enumerable#methods: all? any? chunk collect collect_concat count cycle detect drop drop_while each_cons each_entry each_slice each_with_index each_with_object entries find find_all find_index first flat_map grep group_by include? inject map max max_by member? min min_by minmax minmax_by none? one? partition reduce reject reverse_each select slice_before sort sort_by take take_while to_a zip
[17] (pry) main: 0> ls -M Enumerator
Enumerable#methods: all? any? chunk collect collect_concat count cycle detect drop drop_while each_cons each_entry each_slice entries find find_all find_index first flat_map grep group_by include? inject map max max_by member? min min_by minmax minmax_by none? one? partition reduce reject reverse_each select slice_before sort sort_by take take_while to_a zip
Enumerator#methods: each each_with_index each_with_object feed inspect next next_values peek peek_values rewind with_index with_object
[18] (pry) main: 0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment