ReePrime China
Ruby's Enumerable Module: The Inject Method

此内容来自第三方平台 (Dailymotion)。如果此视频侵犯了您的版权,请使用 立即删除 工具。

Ruby's Enumerable Module: The Inject Method

84 次观看 05:24 teachmetocode

描述

The inject method is useful for aggregating data across a dataset. For example a summation could be done with inject (by aggregating each number into the sum.)