> 
> I already thought about this, but I thought nil.to_s would return
> "nil"... stupid... should have tried it before.
> 

...or you could define:

class NilClass; def chomp; ""; end; end


-t