Map & Collect in Ruby

 ruby

Map & Collect in the Enumerable mixin do the same thing, we can see this in the official Ruby documentation. #collect | #map This points to both collect and map calling

What is duck typing in ruby?

 ruby, fundamentals

Starting out in ruby duck typing is one of those concepts you will hear thrown around. It really is a simple concept to understand. Have no fear! A beer example