Class: Ramaze::DefaultController

Inherits:
Controller show all
Defined in:
lib/ramaze/controller/default.rb

Overview

The default controller that is loaded if no other controllers have been defined.

Author:

  • Michael Fellinger

Since:

  • 30-03-2009

Constant Summary

Constants inherited from Controller

Controller::CONTROLLER_LIST, Controller::IRREGULAR_MAPPING

Instance Method Summary collapse

Methods inherited from Controller

app, engine, generate_mapping, inherited, map, mapping, options, setup, setup_procedure

Instance Method Details

#lobsterObject

Shows an ASCII lobster using Rack::Lobster::LobsterString.

Author:

  • Michael Fellinger

Since:

  • 06-04-2009



20
21
22
23
# File 'lib/ramaze/controller/default.rb', line 20

def lobster
  require 'rack/lobster'
  respond Rack::Lobster::LobsterString
end