Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Until method.is_called?
Tim Mcd
8/23/2008 6:54:00 PM
is there a way to settup an until loop 'until' a method is called? Is it
possible currently?
Something like this:
until Klass.sometin.is-called? do
...
end
thanks for the help
--
Posted via
http://www.ruby-...
.
2 Answers
Tim Mcd
8/23/2008 8:22:00 PM
0
Sorry about my previous post, both my brain and shift keys were wacking
out. >_<
Any help on the problem?
--
Posted via
http://www.ruby-...
.
Farrel Lifson
8/23/2008 8:31:00 PM
0
2008/8/23 Tim Mcd <tmcdowell@gmail.com>:
> is there a way to settup an until loop 'until' a method is called? Is it
> possible currently?
>
> Something like this:
>
> until Klass.sometin.is-called? do
> ...
> end
>
> thanks for the help
> --
Have a look at the Observable module in the standard library.
Farrel
--
Aimred - Ruby Development and Consulting
http://www....
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Until method.is_called?
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