Ruby on Rails Keywords
Part of the Ruby on Rails For Dummies Cheat Sheet
If you’re using Ruby on Rails to create your Web site or database, you need to know the keywords Ruby uses. Fortunately, you have access to the following table, which lists Ruby’s keywords:
| alias | defined? | __FILE__ | not | then |
| and | do | for | or | true |
| BEGIN | else | if | redo | undef |
| begin | elsif | in | rescue | unless |
| break | END | __LINE__ | retry | until |
| case | end | module | return | when |
| class | ensure | next | self | while |
| def | false | nil | super | yield |









