[ruby-cvs:55077] nobu:r47928 (trunk): enum.c: nil if no iteration

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Oct 15 15:27:31 JST 2014


nobu	2014-10-15 15:27:30 +0900 (Wed, 15 Oct 2014)

  New Revision: 47928

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47928

  Log:
    enum.c: nil if no iteration
    
    * enum.c (enum_inject): return nil if no iteration, instead of
      Qundef.

  Modified files:
    trunk/enum.c
    trunk/test/ruby/test_enum.rb


More information about the ruby-cvs mailing list