class Sinatra::Base

def template(name, &block)

def template(name, &block)
  templates[name] = block
end