>>>>> "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


Guy Decoux