Alex Gutteridge wrote:
> Ignore that last message, I see now it's not even getting through one 
> iteration. You can't call 'foo' in that way.

It's not callable because it's at the top level. It works if it's in a 
class (as you saw) or if you public :foo after defining it.

- Charlie