src code

instance method Enumerable#pluck

Enumerable#pluck(propertyName) → Array

Optimization for a common use-case of collect: fetching the same property for all the elements. Returns the property values.