Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

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
  • at
  • bsearch
  • bsearch_index
  • chunk
  • chunk_while
  • clear
  • collect
  • collect!
  • collect_concat
  • combination
  • compact
  • compact!
  • concat
  • count
  • cycle
  • delete
  • delete_at
  • delete_if
  • detect
  • dig
  • drop
  • drop_while
  • each
  • each_cons
  • each_entry
  • each_index
  • each_slice
  • each_with_index
  • each_with_object
  • empty?
  • entries
  • fetch
  • fill
  • find
  • find_all
  • find_index
  • first
  • flat_map
  • flatten
  • flatten!
  • grep
  • grep_v
  • group_by
  • include?
  • index
  • inject
  • insert
  • join
  • keep_if
  • last
  • lazy
  • length
  • map
  • map!
  • max
  • max_by
  • member?
  • min
  • min_by
  • minmax
  • minmax_by
  • none?
  • one?
  • pack
  • partition
  • permutation
  • pop
  • product
  • push
  • rassoc
  • reduce
  • reject
  • reject!
  • repeated_combination
  • repeated_permutation
  • replace
  • reverse
  • reverse!
  • reverse_each
  • rindex
  • rotate
  • rotate!
  • sample
  • select
  • select!
  • shift
  • 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!
  • unshift
  • values_at: to implement range addressing
  • zip
  • |

Clone this wiki locally