missing File#readbyte
---------------------
Key: JRUBY-5888
URL: https://jira.codehaus.org/browse/JRUBY-5888
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.6.2
Environment: OS X 10.6.7
Reporter: Adam Murray
The following code works in MRI Ruby 1.8.7 and Ruby 1.9.2:
File.open('some.file', 'r') {|f| puts f.readbyte }
But fails with JRuby with the following error:
NoMethodError: undefined method `readbyte' for #<File:filename (closed)>
This method is similar to the getbyte() method (which does work in JRuby), but
it has different behavior at EOF. See
http://www.ruby-doc.org/core/classes/IO.html#M000925
--
This message is automatically generated by JIRA.
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