ary = [1,2,3] result = ary.map do |n| x = n * 4 end result # => [4, 8, 12]. You get the value back of each object in the array, _mapped_ to ...
確定! 回上一頁