Class: Sinatra::Application

Inherits:
Default show all
Defined in:
lib/sinatra/base.rb

Overview

The top-level Application. All DSL methods executed on main are delegated to this class.

Constant Summary

Constants inherited from Base

Base::CALLERS_TO_IGNORE

Instance Attribute Summary

Attributes inherited from Base

#app, #env, #params, #request, #response

Method Summary

Methods inherited from Default

register

Methods inherited from Base

after, before, call, #call, #call!, caller_files, caller_locations, condition, configure, delete, development?, disable, enable, error, extensions, #forward, get, #halt, head, helpers, #initialize, inline_templates=, layout, middleware, mime_type, new, not_found, #pass, post, production?, prototype, put, register, reset!, run!, set, #settings, template, test?, use

Methods included from Templates

#builder, #erb, #erubis, #haml, #sass

Methods included from Helpers

#attachment, #back, #body, #cache_control, #content_type, #error, #etag, #expires, #headers, #last_modified, #mime_type, #not_found, #redirect, #send_file, #session, #status

Constructor Details

This class inherits a constructor from Sinatra::Base