Collecting my attempts to improve at tech, art, and life

Aliases

Tags: ruby blogspot

Here’s my TIL for Ruby. When you override a method in a subclass, you also need to redeclare any aliases for that method. Seems pretty obvious when you think about it. I didn’t think about it, though, and it caught me up for a few minutes.

I’d post a block of sample code, but I keep getting "body, Malformed HTML found." errors from 43 Things whenever I try to save with my code in there (pre tags and all)