class Sinatra::Base
def template(name, &block)
def template(name, &block) filename, line = caller_locations.first templates[name] = [block, filename, line.to_i] end
def template(name, &block) filename, line = caller_locations.first templates[name] = [block, filename, line.to_i] end