4.05.2006

FYI

When programming in ruby (or most other programming languages), please keep in mind that "=" is totally different than "==". In ruby's case, a single "=" assigns a value to a variable while two "=" will check to see if the value on either side is equal.

So if a conditional isn't doing what's expected, check how many "=" there are!

No comments: