Enumerable#each_slice (from enumerator) should splat values passed to block
---------------------------------------------------------------------------

                 Key: JRUBY-1265
                 URL: http://jira.codehaus.org/browse/JRUBY-1265
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Marcin Mielżyński
            Priority: Minor


Enumerable#each_slice (from enumerator) should splat values passed to block

require 'enumerator'
[1,2].each_slice(2){|a,b| p a;p b}

should give:
1
2

but gives:
[1,2]
nil

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to