12 Sep 2007

The Fantastically Honest RDoc

Whilst working on a bit of code the other day we found this little nugget in the RDoc for Object#instance_variable_set:

Sets the instance variable names by symbol to object, thereby frustrating the efforts of the class‘s author to attempt to provide proper encapsulation.

Brilliant!