Fix ruby syntax error due to an extra end
Merge pull request #148 from claco/v4.1.3rc

Fix ruby syntax error due to an extra end