[ruby] Correct way to populate an Array with a Range in Ruby