i threw this out before. thought i'd try again:
harp:~ > irb
irb(main):001:0> class Numeric; def of(&b) Array::new(self).map(&b) end; end
=> nil
irb(main):002:0> 42.of{ String::new }
=> ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]
regards.
-a
···
--
happiness is not something ready-made. it comes from your own actions.
- h.h. the 14th dali lama