[docs] pluck docs reverted for activesupport

367741ef22
This commit is contained in:
Arun Agrawal 2011-12-23 09:53:21 +05:30
parent 46ec75661d
commit cc450329b2

@ -1977,16 +1977,6 @@ end
NOTE: Defined in +active_support/core_ext/enumerable.rb+.
h4. +pluck+
The +pluck+ method collects the value of the passed method for each element and returns the result as an array.
<ruby>
people.pluck(:name) # => [ "David Heinemeier Hansson", "Jamie Heinemeier Hansson" ]
</ruby>
NOTE: Defined in +active_support/core_ext/enumerable.rb+.
h4. +each_with_object+
The +inject+ method offers iteration with an accumulator: