How to Format Ruby Code for Blogs

I saw this article on formatting ruby code for blogs. Nice article, but the code is Linux/KDE-specific. Also, OS X threw an error about the order of the require statements. Being that I use OS X (and so should you) I needed to make a couple of changes to the code that...

How fast does your Ruby run?

Here’s a fun article on the Ruby Forum where someone provided a simple benchmarking utility. Several posters (including me) have run this to see how well Ruby runs on their system relative to other posters. n = 1_000_000 start_time = Time.now for i in 1..n t =...