[#927] UnboundMethod#to_proc — Dave Thomas <dave@...>

I'm wondering what I can do with a Proc generated by

17 messages 2003/04/06

Possible inconsistency in IO

From: Dave Thomas <dave@...>
Date: 2003-04-01 21:45:29 UTC
List: ruby-core #923
This is pretty trivial, but IO.new warns if it is passed a block, but 
IO.for_fd doesn't (but it does ignore the block).

Two questions:

1. Is this correct?
2. Is there any other external difference between the two methods?

Cheers


Dave




In This Thread

Prev Next