Update engine.rb

Change syntax to something understandable by our ruby 1.8.7