Skip to content

Missing 2.3.4 Array methods

Saverio Miroddi edited this page Sep 14, 2017 · 13 revisions

To verify, and merge duplicates:

  • &
  • -
  • <<
  • all?
  • any?: to implement no-block invocation
  • assoc
  • bsearch
  • bsearch_index
  • chunk
  • chunk_while
  • collect
  • collect!
  • collect_concat
  • combination
  • compact
  • compact!
  • cycle
  • delete
  • delete_if
  • detect
  • dig
  • drop
  • drop_while
  • each_cons
  • each_entry
  • each_slice
  • each_with_index
  • each_with_object
  • entries
  • fetch
  • fill
  • find
  • find_all
  • find_index
  • flat_map
  • flatten!
  • grep
  • grep_v
  • group_by
  • include?
  • index
  • inject
  • insert
  • keep_if
  • lazy
  • map!
  • max
  • max_by
  • member?
  • min
  • min_by
  • minmax
  • minmax_by
  • pack
  • partition
  • permutation
  • product
  • rassoc
  • reject
  • reject!
  • repeated_combination
  • repeated_permutation
  • replace
  • reverse!
  • rindex
  • rotate!
  • sample
  • select!
  • shuffle
  • shuffle!
  • size
  • slice
  • slice!
  • slice_after
  • slice_before
  • slice_when
  • sort
  • sort!
  • sort_by
  • sort_by!
  • take
  • take_while
  • to_a
  • to_ary
  • to_h
  • transpose
  • uniq
  • uniq!
  • values_at: to implement range addressing
  • zip
  • |

Clone this wiki locally