class Sinatra::Base
def helpers(*extensions, &block)
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
def helpers(*extensions, &block) class_eval(&block) if block_given? include(*extensions) if extensions.any? end