From: "Eregon (Benoit Daloze)" Date: 2013-05-27T17:03:06+09:00 Subject: [ruby-core:55174] [ruby-trunk - Feature #8453] Implement Struct.map Issue #8453 has been updated by Eregon (Benoit Daloze). Eregon (Benoit Daloze) wrote: > I wonder why #select is overridden though. Probably performance reasons. Actually, it is an historical reason: #select used to have #values_at behavior when given integers. ---------------------------------------- Feature #8453: Implement Struct.map https://bugs.ruby-lang.org/issues/8453#change-39538 Author: eLobato (Daniel Lobato Garcia) Status: Closed Priority: Low Assignee: Category: Target version: http://ruby-doc.org/core-2.0/Struct.html does not contain any 'map' like method, I imagine given 'each' and 'select' are available it's probably not too hard to implement. As always I'm 100% open to contribute so if you deem this necessary just let me know and I'll start writing a patch. -- http://bugs.ruby-lang.org/