> This all sounds great but I am a little confused
> with what you exactly mean by, "Feel free to swap out
> do . . . end with { . . . }."

ruby actually has two syntaxes for blocks:

1)

['hello', 'world', 'goodbye'].each {|word| puts word.upcase}

2)

['hello', 'world', 'goodbye'].each do |word|
  puts word.upcase
end

The general practice is: use parentheses for one liners, and do-end for 
multi line blocks.

There is actually one slight difference in effect between the two 
syntaxes, but it is not worth mentioning at this point.

-- 
Posted via http://www.ruby-forum.com/.