Remove undefined Ruby methods

A template is using the String#each Ruby method which is defined in Ruby
1.8 but not in Ruby 1.9.

Closes-Bug: #1316678
Merge pull request #3 from CiscoSystems/bugs/1316678

Remove undefined Ruby methods