class Sinatra::Base
def halt(*response)
Exit the current block, halts any further processing
def halt(*response) response = response.first if response.length == 1 throw :halt, response end
def halt(*response) response = response.first if response.length == 1 throw :halt, response end