(Reposting from my old wiki):
On a recent post in ruby-talk, the question was asked how to convert something to YAML. Extending this generally to ruby objects, I went searching for something that would work besides a brute-force creation of a Hash.
Automating things has been somewhat of a life goal for me. Ultimately,
I’m a pretty lazy person, and I hate to have to do things
repetitively, and if I can get the computer to do it for me, I’ll
write a script. (Although I admit this sometimes devolves into
The standard documentation formatter for RSpec does not show how long
each test executes. This information is available in the HTML
formatter, though, so I thought it could be available in others. Turns
out this is true.