来源:https://stackoverflow.com/questions/36141555/how-to-square-an-array-of-numbers-in-ruby-without-map-or-collect-methods 标签 arrays ruby math