From: Nic Daniau Date: 2007-05-01T19:31:45+09:00 Subject: Re: Ruby syntax question: instance.method(args) { more_stuff } Thanks, yes, I know about iterators and their use of blocks. But this isn't one. And that doesn't tell me why it uses self.quality and how I can inject my own value as @my_object_quality. -----Original Message----- From: Harry [mailto:list.push@gmail.com] Sent: 01 May 2007 11:26 To: ruby-talk ML Subject: Re: Ruby syntax question: instance.method(args) { more_stuff } On 5/1/07, Nic Daniau wrote: > how can I > make my own method accept blocks too? > > Here is one explanation. http://www.rubycentral.com/book/tut_containers.html#UD Harry -- http://www.kakueki.com/ruby/list.html A Look into Japanese Ruby List in English