Two Weird Characters You’ll See in Ruby Methods
If you’re new to ruby, you’ll occasionally come across ampersands (&) and asterisks (*) in methods. I was confused by this at first. I learned what they mean after a little digging. In the examples I use below ——> means “returns” – as in, whatever is typed in front of ——> will return what is typed to […]