Automatically convert RubyFile to java.io.File
----------------------------------------------
Key: JRUBY-2313
URL: http://jira.codehaus.org/browse/JRUBY-2313
Project: JRuby
Issue Type: New Feature
Reporter: LeonB
Assignee: Thomas E Enebo
When I give a java method a Ruby file: File.new('/home/leon/test.txt')
which expects as java File. I get the following error:
TypeError: expected [java.io.File]; got: [org.jruby.RubyFile]; error: argument
type mismatch
Would it be possible to do an automatic conversion here?
--
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