From: matz@... (Yukihiro Matsumoto) Date: 2000-11-15T06:53:57+09:00 Subject: [ruby-talk:6371] Re: rescue clause affecting IO loop behavior Hi, In message "[ruby-talk:6368] Re: rescue clause affecting IO loop behavior" on 00/11/15, Dave Thomas writes: |> differently because it has one or more rescue clauses. In discussing while/until |> modifiers, it says: |> |> [given this: expression until boolean-expression] |> If expression is a begin/end block, the block will always be executed at least one time |> |> and elsewhere: "Exceptions may be handled within the scope of a begin/end block." |> There's no indication that putting a rescue clause in, or taking one out, will affect |> the basic behavior of blocks (including begin...end until boolean). |> |> I sort of hope it turns out to be a (fixable) problem in Ruby, rather than a |> problem in the docs :-) | |So do I ;-) | |To be honest, I hadn't come across this behavior in the past. Aaaagh. That's my mistake not to mention this FEATURE in the reference manual. 3 Japanese books (yes, we have 4 books for Ruby) mentions this. matz.