SyntaxFix
Write A Post
Hire A Developer
Questions
0..param_count means "up to and including param_count". 0...param_count means "up to, but not including param_count".
0..param_count
0...param_count
Range#map does not return an Enumerable, it actually maps it to an array. It's the same as Range#to_a.
Range#map
Enumerable
Range#to_a