Thank you paul and mark your informations have been very useful to me.

but it works fine when the condition changes like,



     if @character == 'R'  || @character == 'r'

        raise " Expected 'R' after 'E' in version Declaration"

      end




Regards,
Martin
-- 
Posted via http://www.ruby-forum.com/.