Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Ruby syntax question: instance.method(args) { more_stuff }
Nic Daniau
5/1/2007 10:32:00 AM
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 <Nic.Daniau@xchanging.com> wrote:
> how can I
> make my own method accept blocks too?
>
>
Here is one explanation.
http://www.rubycentral.com/book/tut_containe...
Harry
--
http://www.kakueki.com/ruby...
A Look into Japanese Ruby List in English
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Ruby syntax question: instance.method(args) { more_stuff }
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password