Day 03 - Array Methods in Ruby
Methods are so handy when you play with arrays in Ruby. Here are some useful methods I used while doing the Codewars challenge.
chars()
chars returns an array of characters in strings. This is a shorthand for each_char.to_a. Let's take a look at thes...
terryhycheng.hashnode.dev5 min read