Include the helper modules provided in Sinatra’s request context.
# File lib/sinatra/base.rb, line 1164
1164: def self.helpers(*extensions, &block)
1165: Application.helpers(*extensions, &block)
1166: end
Create a new Sinatra application. The block is evaluated in the new app’s class scope.
# File lib/sinatra/base.rb, line 1152
1152: def self.new(base=Base, options={}, &block)
1153: base = Class.new(base)
1154: base.send :class_eval, &block if block_given?
1155: base
1156: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.