> Is there a shorter way to do this?  Instead of typing all the variable
> names, can I use a range to do this?  Like title(1..20)?

You can use eval.

irb(main):106:0> title1="rails"
=> "rails"
irb(main):107:0> title2="ruby"
=> "ruby"
irb(main):108:0> title3="typo"
=> "typo"
irb(main):117:0> (1..3).each do |num|
irb(main):118:1*     eval "puts title#{num}"
irb(main):119:1> end
rails
ruby
typo

I'm not sure if there is a way to get a reference to an object if you
know it's symbol, but if there is that might be more elegant.

Farrel