Missing method: IO#stat
-----------------------
Key: JRUBY-1896
URL: http://jira.codehaus.org/browse/JRUBY-1896
Project: JRuby
Issue Type: Sub-task
Components: Core Classes/Modules
Reporter: Charles Oliver Nutter
Fix For: JRuby 1.1
Enebo: "WHA?!!!?!?!"
Error:
{noformat}
7) Error:
test_stat(TestIO):
NoMethodError: undefined method `stat' for #<IO:0xcc84c1>
test/rubicon/test_io.rb:957:in `test_stat'
{noformat}
Test:
{code}
# Stat is pretty much tested elsewhere, so we're minimal here
def test_stat
io = IO.new($stdin.fileno)
assert_instance_of(File::Stat, io.stat)
io.close
end
{code}
--
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