tweet.rb change each loop syntax