Readline.readline wants two arguments
-------------------------------------

                 Key: JRUBY-2613
                 URL: http://jira.codehaus.org/browse/JRUBY-2613
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1+
            Reporter: Jari Bakken


Readline.readline("foo ") doesn't behave like MRI, but raises:

ArgumentError: wrong # of arguments(1 for 2).

Seems to work as expected when passing in nil as the second argument.





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