If else statement problem

On first glance, it looks like your 'else' block won't ever run unless
there is some definition of @logos above that code that you had
forgotten to paste. This may be why the second rotation doesn't ever
happen (if that is your problem).

Forgive me if I'm misinterpreting you.

- Edd

Hi --

That is correct, and syntactically I see nothing wrong with your code.
However, from what I can see the if statement will always evaluate to
true because @logos will always be null.

- Edd

Only if it's the same object, since @logos is just an instance variable. If for example this was in a controller then the second time you hit the web page you'll get a new instance of the controller and so @logos will be nil again.