class Sinatra::Base

def helpers(*extensions, &block)

in `extensions` available to the handlers and templates
Makes the methods defined in the block and in the Modules given
def helpers(*extensions, &block)
  class_eval(&block)   if block_given?
  include(*extensions) if extensions.any?
end