Comment

Comment by evilstreak

The signer_keys_and_uids example can be much cleaner using Enumerator#with_object:

signers.map.with_object({}) { |signer, result| result[signer.key_id] = signer.uids }

parent evilstreak 13 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton