ts wrote:

>>>>>>"J" == Jamey Cribbs <cribbsj / oakwood.org> writes:
>>>>>>            
>>>>>>
>
>J>    if a == 0
>J>        puts 'zero'
>J>    elif a == 1
>J>        puts 'one'
>J>    else
>J>        puts 'not one'
>J>    end
>
> You have just written
>
>      if a == 0
>         puts 'zero'
>         elif(a == 1) # call the method elif
>         puts 'one'
>      else
>         puts 'not one'
>      end
>
> run it with a = 0, to see the error message
>  
>
Gotcha!

Thanks, Guy.


Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, unauthorized review, use, disclosure or distribution of this email and any materials contained in any attachments is prohibited. If you receive this message in error, or are not the intended recipient(s), please immediately notify the sender by email and destroy all copies of the original message, including attachments.