Enumerable#all in Ruby
I posted some code earlier that would validate a bunch of objects at once. That code is now legacy for me, after I came across enum#all when reading the rubinius source.
So, instead, we can just do:
December 12, 2008
I posted some code earlier that would validate a bunch of objects at once. That code is now legacy for me, after I came across enum#all when reading the rubinius source.
So, instead, we can just do:
December 12, 2008