Trans wrote:
> class NullClass #< NilClass

Thanks Trans! I wrote a little module from this called HungryNil, that 
you can use to selectively turn nill values into nulls, in a method 
chain.

eg:

nil.n #=> null

2.358.n #=> 5

nil.round #=> method missing error

nil.n.round #=> null

2.358.n.round #=> 2

-- 
Posted via http://www.ruby-forum.com/.