Object#methods is incorrect in some cases
-----------------------------------------
Key: JRUBY-2247
URL: http://jira.codehaus.org/browse/JRUBY-2247
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1RC2
Environment: JRuby 1.1RC2
Reporter: Vladimir Sizikov
Fix For: JRuby 1.1
1. Time.methods doesn't return "now" method:
Time.methods.grep('now') == > []
2. In MRI: Time.methods(false) => ["at", "utc", "_load", "today", "mktime",
"now", "local", "times", "gm"]
But JRuby's implementation of "methods" with false argument always returns [].
--
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