Verbose Logging

software development with some really amazing hair

09 Jan 10

02:00 PM MDT

Posted in Programming

Using Date objects with Ruby Ranges

I used to have some really ugly code to generate the archive links you see on the right column of this blog. It was terrible. Granted it was some of the first code I wrote on this blog, and I was cruising through it because I just wanted to get it done and working, but still, it’s not really a valid excuse. It can be seen here. I had a thought the other day that it would be much better handled by the Range class, and boy was I right, although ...


Read the full article

Comments