Bug #1748: Kernel.puts(nil) => "\n" on 1.9; "nil\n" on 1.8
http://redmine.ruby-lang.org/issues/show/1748

Author: Run Paint Run Run
Status: Open, Priority: Low
Category: core
ruby -v: ruby 1.9.2dev (2009-07-08 trunk 23995) [i686-linux]

Is this intentional?
  
  $ ruby -ve 'Kernel.puts(nil)'
  ruby 1.9.2dev (2009-07-08 trunk 23995) [i686-linux]

  $ ruby8 -ve 'Kernel.puts(nil)'
  ruby 1.8.8dev (2009-07-01) [i686-linux]
  nil


----------------------------------------
http://redmine.ruby-lang.org