Just started to learn about unit testing. Insanely useful!
Archive for November, 2009
29
Nov
09
me & unit testing
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
22
Nov
09
ka ku ta
BEST SONG EVER!
21
Nov
09
vocal bliss
Heard a nice small vocal trance mix here.
20
Nov
09
ruby’s multiline comments
If you want to comment more than one line of Ruby code, you can place them inside a:
=begin
=end
block. The thing is, =begin and =end must be at the very beginning of the line.
19
Nov
09
all i ask
Happy birthday!
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.
14
Nov
09
lost trance song
I love this song! And John Locke!