rubywarrior code