Automatic name conversion produces odd results
-----------------------------------------------
Key: JRUBY-1577
URL: http://jira.codehaus.org/browse/JRUBY-1577
Project: JRuby
Issue Type: Bug
Components: Java Integration
Affects Versions: JRuby 1.x
Reporter: David Koontz
Priority: Minor
The conversion from Java name to fully Ruby'ized name incorrectly adds an
underscore between adjacent capital letters as well as as one extraneous
renaming.
require 'jruby'
JRuby.runtime.methods.select{|m| /loader/i =~ m}
Produces:
getJRubyClassLoader
get_jruby_class_loader
jRubyClassLoader
j_ruby_class_loader
--
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