On Apr 3, 2006, at 5:03 PM, Stupergenius wrote:

> Yes, I had the same suspicion and changed it to:
>
> while pipeline.iterate
>     puts 'playing'
> end
>
> Which doesn't work either, and it doesn't print the message at all
> either.
>
> I'm still lost, and this seems to be the best way for me to do  
> this, so
> I don't want to go out and get FMOD which is totally overkill for my
> application.
>
> Thanks though.
>
>

Frankly I'm confused that
while obj.meth do end isn't a syntax error...

Hmm, even

while 1 do end

works
that's about the weirdest thing ever

I tried fiddling with it with ParseTree, but it was less than  
enlightening:
ParseTree.new.parse_tree(A)[0][3]
=> [:defn, :m, [:scope, [:block, [:args], [:while, [:call,  
[:self], :class], true]]]]