Update engine.rb

remove old ruby hash style