Update result.rb to remove useless variable assignment

Useless assignment to variable - `result`, unless I missed something.