module Sinatra::Templates
def builder(template=nil, options={}, locals={}, &block)
def builder(template=nil, options={}, locals={}, &block) require_warn('Builder') unless defined?(::Builder) options, template = template, nil if template.is_a?(Hash) template = lambda { block } if template.nil? render :builder, template, options, locals end