feature request: java object #inspect be cleaner
------------------------------------------------
Key: JRUBY-5136
URL: http://jira.codehaus.org/browse/JRUBY-5136
Project: JRuby
Issue Type: Improvement
Environment: jruby 1.5.2 (ruby 1.8.7 patchlevel 249) (2010-08-20
1c5e29d) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
Reporter: Roger Pack
Assignee: Thomas E Enebo
It would be nice if the #inspect method, on generic "java" objects, would call
through to the toString method.
This would make it easier to debug using it in irb.
Currently it appears that it doesn't.
(rdb:1) b.to_string
"ApidNodeLocator: TH-267-12115-51277-64"
(rdb:1) b.inspect
"#<Java::OrgFamilysearchDigitalarchiveDasfinderservice::ApidNodeLocator:0x4e50ee>"
Thanks!
-r
--
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