Matt and Blaine are having fun writing Ruby log splitters. I couldn’t pass up the opportunity to write one in Groovy, so here it is:
baseFilename = args.size() > 0 ? args[0] : "split.log" |
Matt and Blaine are having fun writing Ruby log splitters. I couldn’t pass up the opportunity to write one in Groovy, so here it is:
baseFilename = args.size() > 0 ? args[0] : "split.log" |
RSS feed for comments on this post. TrackBack URI
Awesome! I actually like this better than mine…. more succint. Now, lets see your take on the DSL version.
Comment by Matt Secoske — August 29, 2006 @ 10:12 pm