Update statspack.rb

Fixing unexpected 'do' at end of block.