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:

Since:

Constant Summary

Constant Summary

Constants inherited from Controller

Controller::CONTROLLER_LIST, Controller::IRREGULAR_MAPPING

Constants included from Innate::Node

Innate::Node::NODE_LIST

Instance Attribute Summary

Attributes included from Innate::Node

#layout_templates, #method_arities, #view_templates

Instance Method Summary (collapse)

Methods inherited from Controller

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

Methods included from Innate::Node

#action_found, #action_missing, #alias_view, #binding, #call, #fill_action, #find_aliased_view, #find_layout, #find_method, #find_provide, #find_view, generate_mapping, included, #layout, #layout_mappings, #map, #map_layouts, #map_views, #mapping, #needs_method?, #options, #patterns_for, #possible_exts_for, #possible_paths_for, #provide, #provide_handlers, #provide_set?, #provides, #resolve, #root_mappings, setup, #to_layout, #to_template, #to_view, #try_resolve, #update_layout_mappings, #update_mapping_shared, #update_method_arities, #update_template_mappings, #update_view_mappings, #view_mappings

Methods included from Innate::Traited

#ancestral_trait, #ancestral_trait_values, #class_trait, #each_ancestral_trait, included, #trait

Instance Method Details

- (Object) lobster

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