Rubocop: Adding block method check