Class: Susanoo::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/susanoo/application.rb,
lib/susanoo/controllers/index.rb,
lib/susanoo/controllers/views.rb,
lib/susanoo/controllers/assets.rb,
lib/susanoo/controllers/static.rb

Overview

This class contains basic controllers which is needed for Susanoo to work. Each controller should contains call and build instance methods. call is responsible to serving an http request base on Rack specification and build is responsible to create static files with suitable content. build method gets an argumant which is the generator object that calls build methods. generator is a Thor object so you can use Thor::Actions in your method.

Defined Under Namespace

Classes: Assets, Index, Static, Views