String#sum should only accept one argument
------------------------------------------

                 Key: JRUBY-1011
                 URL: http://jira.codehaus.org/browse/JRUBY-1011
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.0.0RC2
         Environment: Windows XP, Java 1.6
            Reporter: Daniel Berger
            Priority: Minor


According to MRI, the String#sum method should only accept one argument. In 
JRuby it appears to accept an unlimited number.
{noformat}
assert_raises(ArgumentError){ "hello".sum(5, 6) }
{noformat}

-- 
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