[ruby-cvs:49840] marcandre:r42698 (trunk): * enumerator.c: Allow Enumerator size argument to be any callable.

marcandre at ruby-lang.org marcandre at ruby-lang.org
Tue Aug 27 11:50:09 JST 2013


marcandre	2013-08-27 11:50:08 +0900 (Tue, 27 Aug 2013)

  New Revision: 42698

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

  Log:
    * enumerator.c: Allow Enumerator size argument to be any callable.
      Patch by Avdi Grimm. [bug #8641] [ruby-core:56032] [fix GH-362]
    
    * test/ruby/test_enumerator.rb: Test for above

  Modified files:
    trunk/enumerator.c
    trunk/test/ruby/test_enumerator.rb


More information about the ruby-cvs mailing list