Converting nil
November 2, 2008
Check C,C++,Java, JavaScript or any other langugage which treats “nil” as something different–probably a meaning equivalent to “a person having 5 hands”. But in Ruby you may use
nil.to_s —>> “0″
Is this really breaking the original stream of programming languages?
Trackback this post | Subscribe to the comments via RSS Feed