Monday, November 21, 2005
Do With
Another small gold nugget by Dave Astels:
I think I am going to add Dave to my Links menu.
very nice and readable.one = ['a', 'b', 'c']
other = ['x', 'y', 'z']
one.do_with(other) { | a, b | puts a + b }
I think I am going to add Dave to my Links menu.