Issue #7027 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned
Assignee set to Glass_saga (Masaki Matsushita)
Target version set to 2.0.0

Glass_saga,

Sounds good.  Please commit it.
If something comes up, we can deal with it then.

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Bug #7027: Tempfile#inspect is Confusing
https://bugs.ruby-lang.org/issues/7027#change-32389

Author: Glass_saga (Masaki Matsushita)
Status: Assigned
Priority: Normal
Assignee: Glass_saga (Masaki Matsushita)
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-09-15 trunk 36975) [x86_64-linux]


I think Tempfile#inspect is really confusing.
It says Tempfile object is a File, but it is not a File object.

% irb -r tempfile
irb(main):001:0> t = Tempfile.new("hoge")
=> #<File:/tmp/hoge20120916-12354-uontdm>
irb(main):002:0> t.is_a? File
=> false
irb(main):003:0>

see also (Japanese): http://r7kamura.hatenablog.com/entry/2012/09/05/194630


-- 
http://bugs.ruby-lang.org/