The .enumerator(&:foo) idiom is "here's a message, send it to each of the items you're enumerating over".  I'm not sure about implementation details, but it's equivalent to one of {|x| x.foo} or {|x| x.send(:foo)}.