Just started to learn about unit testing. Insanely useful!
Archive for November, 2009
I had two version of ParseTree installed on my computer: 3.0.4 and 3.0.3. Here’s how I removed 3.0.4:
gem uninstall ParseTree -v 3.0.4
Heard a nice small vocal trance mix here.
If you want to comment more than one line of Ruby code, you can place them inside a:
block. The thing is, =begin and =end must be at the very beginning of the line.
If you need to store a variable to a file, and then need to read it back, you can do it like this:
set /p variable=<file.txt
assuming your file’s name is file.txt.