Module: Waves::Foundations::Simple
- Defined in:
- lib/foundations/simple.rb
Overview
The Simple foundation provides the bare minimum needed to run a Waves application. It is intended for use as the basis of more fully-featured foundations, but you can use it as a standalone where all the request processing is done directly in a mapping lambda.
Class Method Summary collapse
-
.included(app) ⇒ Object
On inclusion in a module, the Simple foundation includes Waves::Layers::Simple and registers the module as a Waves application.
Class Method Details
.included(app) ⇒ Object
On inclusion in a module, the Simple foundation includes Waves::Layers::Simple and registers the module as a Waves application.
19 20 21 22 23 24 25 26 |
# File 'lib/foundations/simple.rb', line 19 def self.included( app ) app.instance_eval do include Waves::Layers::Simple end Waves << app end |