Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.0.0RC2
-
Fix Version/s: JRuby 1.0.2, JRuby 1.1b1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:OS X 10.4.9, Java 1.5, JRuby 2007-05-31 rev 3672
-
Number of attachments :
Description
IO.open doesn't appear to be defined. Attempting to call it results in a NoMethodError:
IO.open(2, 'w') # => JRuby raises NoMethodError
Given that File inherits from IO, I'm very curious about this.
Interesting....this is missing. File has an open defined. We probably would have known this had we properly implemented the file descriptor stuff (as you reported in another issue).