Class Merb::Rack::Application
In: lib/merb-core/rack/application.rb
Parent: Object

Methods

Public Class methods

Parameters

options<Hash>:Options for creating a new application. Currently ignored.

Public Instance methods

Parameters

env<Hash>:Environment variables to pass on to the application.

Returns

Array[Array]:A 3 element tuple consisting of response status, headers and body.

Parameters

env<Hash>:Environment variables to pass on to the application.

Returns

true or false::

Parameters

path<String>:The path to the file relative to the server root.

Returns

Boolean:True if file exists under the server root and is readable.

Parameters

env<Hash>:Environment variables to pass on to the server.

Parameters

env<Hash>:Environment variables to pass on to the server.

[Validate]