3 4 5 6 7 8 9 10
# File 'lib/bricky/requirements.rb', line 3 def check_and_execute if pending? Bricky.logger.error "Make sure you have the following requirements: " Bricky.logger.error " - " + requirements.keys.join("\n - ") else yield end end