Ruby comes with many fantastic Enumerable methods, but the two most useful ones come through Smalltalk via LISP: #map and #inject. What follows are some lengthy method definitions followed by rewrites that are not only more concise but also more clear in their intentions. Building an array Requirement: As a user with a PGP key I want to see the list of key ids for all my signers so I can quickly i