# File lib/sinatra/rabbit.rb, line 119 def control(&block) op = self @control = Proc.new do op.collection.check_supported(driver) op.check_capability(driver) op.validate(op.effective_params(driver), params, credentials) instance_eval(&block) end end