Rubocop: lib/blast.rb, refactor

A log of remaining warnings: https://gist.github.com/vivekiitkgp/7a52601b6619db46c1da

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>