That's just how array assignment works in Ruby.
这是数组赋值的红宝石是如何工作的。
An array of assignments of this type, in which each element is a two-element array that contains the high and low values to generate for the assignment.
该类型任务的数组,其中每个元素是一个两个元素的数组,该数组包含为任务生成的最高和最低分值。
The third element of the array is the number of points for this assignment type, so I have to invoke the to_s method to convert that integer into a string.
数组第三个元素是该任务类型的分数,所以我必须调用to_s方法,将该整数转换为字符串。
应用推荐