Array @ Ruby-doc. ... Array.all?{|element|} # 如果陣列裡面沒東西也會回傳true ... number = string.collect(&:to_i) # [1, 2, 3, 4, 5]
確定! 回上一頁