On Jun 20, 2005, at 1:55 PM, Robert Klemme wrote:

> He means:
>
>
>>> if 1 == 1
>>> puts 'yes'
>>>
>>>
> ?>
> ?>
> ?>
> ?>
> ?>

This is why I asked for examples.

What is happening above is that you've entered a partially complete  
Ruby construct.  The if isn't done until it sees an end.  That's why  
irb is waiting; it wants you to complete the thought.

I think it's important to understand that, because typing end isn't  
always the answer.

James Edward Gray II