Rack (web Server Interface) - Example Application

Example Application

A Rack-compatible "Hello World" application in Ruby syntax:

app = lambda do |env| body = "Hello, World!" ] end run app

Read more about this topic:  Rack (web Server Interface)

Famous quotes containing the word application:

    “The receipt to make a speaker, and an applauded one too, is short and easy.—Take of common sense quantum sufficit, add a little application to the rules and orders of the House, throw obvious thoughts in a new light, and make up the whole with a large quantity of purity, correctness, and elegancy of style.”
    —Philip Dormer Stanhope, 4th Earl Chesterfield (1694–1773)

    “The application requisite to the duties of the office I hold [governor of Virginia] is so excessive, and the execution of them after all so imperfect, that I have determined to retire from it at the close of the present campaign.”
    —Thomas Jefferson (1743–1826)