Skip to content

Latest commit

 

History

History
83 lines (67 loc) · 1.69 KB

TODO.md

File metadata and controls

83 lines (67 loc) · 1.69 KB

Enumerable Candidates

Methods for Querying

  • all? (no args)
  • all? (non-callable arg)
  • all? (callable arg)
  • all? (regex arg)
  • all? (type arg)
  • any? (no args)
  • any? (non-callable arg)
  • any? (callable arg)
  • any? (regex arg)
  • any? (type arg)
  • count (no args)
  • count (non-callable arg)
  • count (callable arg)
  • none? (no args)
  • none? (non-callable arg)
  • none? (callable arg)
  • none? (regex arg)
  • none? (type arg)
  • one? (no args)
  • one? (non-callable arg)
  • one? (callable arg)
  • one? (regex arg)
  • one? (type arg)
  • include?/member?

Methods for Fetching

  • first (no args)
  • first (n elements)
  • take

Methods for Searching and Filtering

  • find/detect
  • find/detect (if_non_proc)
  • reject
  • select/filter/find_all
  • uniq (no args)
  • uniq (predicate to determine uniqueness)

Other Methods

  • collect/map (no args)
  • collect/map (callable args)
  • compact
  • cycle (positive number)
  • cycle (zero or negative number)
  • cycle (no number)
  • cycle (no arg)
  • each (no args)
  • each (callable arg)
  • flat_map / collect_concat (no args)
  • flat_map / collect_concat (callable arg)
  • inject/reduce
  • zip (no args)
  • zip (callable arg)

Enumerator Candidates

  • next
  • peek
  • rewind

Object Candidates

  • public_send
  • respond_to
  • send

Additional Candidates