Update war.rb

My first update to this. Enjoy.