Update result.rb

fixed result code