在Ruby裡的 collection 集合裡有 Array 陣列和 Hash 雜湊。 ... collect { |item| block } → new_ary Invokes the given block once for each element of self.
確定! 回上一頁