Is there a way to create an array of Fixnums using ruby's % notation?
It's obviously quite trivial to write, for example [edit: changed example to nonconsecutive digits]
digits = %w{4 8 15 16 23 42}.map{|d| d.to_i}
=> [4, 8, 15, 16, 23, 42]
but it bugs me and I'm wondering if there is a way to do it without the map. None of these sources mention such a possibility---am I out of luck?