Rubocop: lib/blast.rb, refactor

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>