>That's because you're not exercising the section under @names.nil?
>Try: mg = MegaGreeter.new(nil)

>You spoiled it ;)
>but this is a good way to explain it too...

What does that have to do with anything?

>Good points Stefano, conclusion *always* use "then" :)

My first exposure to Ruby is the "Ruby in 20 Minutes" tutorial.  If it's 
good practice to always use 'then', how about putting it in the 
tutorial?

-- 
Posted via http://www.ruby-forum.com/.