Tag: iterate

  • How to count Ruby Array itemsProgramming

    While working in Ruby, I often find myself trying to get a count of the number of times each item appears in an array.