=begin I'm confused. You're saying that in 1.9.2+ splatting operators don't call respond_to?(:to_a/:to_ary)? Almost all other conversions do call respond_to? first before calling the method itself. E.g.:
=begin OK, so this seems to be fixed. I haven't found more recent binaries for Windows than 1.9.1 so I can't test that. So you're saying when *expr doesn't call respond_to? in 1.9.3? That looks like a bug unless splatting operations i...tmat (Tomas Matousek)
=begin I see, so there is implicit and explicit splatting. The former uses to_ary the latter to_a.
So the splatting in the following code (in when clause) should use to_a since it is an explicit one, right? It attempts to call bot...tmat (Tomas Matousek)
=begin The following script should raise an exception (invalid descriptor) on line [2] since the file object that allocated it should have been collected on line [1]. The script actually writes "hello" to the file so it seems that Ruby ...tmat (Tomas Matousek)