Until method.is_called?

T

Tim Mcd

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
 
T

Tim Mcd

Sorry about my previous post, both my brain and shift keys were wacking
out. >_<
Any help on the problem?
 
F

Farrel Lifson

2008/8/23 Tim Mcd said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,051
Members
47,656
Latest member
rickwatson

Latest Threads

Top