From: Dossy Date: 2002-05-25T10:28:24+09:00 Subject: Re: Threading oddness On 2002.05.25, Sean Russell wrote: > Right? How about some more syntactic sugar for Ruby: allow blocks to be > defined the same way as methods, so that: > > n = Thread.new do > #... > rescue > #... > end Neat. And, being able to add "ensure" in there for thread cleanup would be great, too. -- Dossy -- Dossy Shiobara mail: dossy@panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)