Reserved Words

From RubySpec

Jump to: navigation, search

Ruby strives to have as few keywords as possible. Here's the list:

alias   and     BEGIN   begin   break   case    class   def     defined 
do      else    elsif   END     end     ensure  false   for     if 
in      module  next    nil     not     or      redo    rescue  retry 
return  self    super   then    true    undef   unless  until   when 
while   yield
Personal tools