From: Tobias Reif Date: 2002-01-16T03:58:24+09:00 Subject: Re: how to get all the reserved words? I wrote: > how can I get all the reserved words,[...] If there is no way (global var, method, etc.) to get a list of all reserved words, then another question: What's missing in the following list? (considering all versions of Ruby, even planned ones) reserved_words = [ 'BEGIN', 'END', 'alias', 'and', 'begin', 'break', 'case', 'class', 'def', 'defined?', 'do', 'else', 'elsif', 'end', 'module', 'ensure', 'false', 'for', 'if', 'in', 'next', 'nil', 'not', 'or', 'redo', 'rescue', 'retry', 'return', 'self', 'super', 'then', 'true', 'undef', 'unless', 'until', 'when', 'while', 'yield', '__FILE__', '__LINE__' ] Tobi -- http://www.pinkjuice.com/