Sha256: b81cdc6539bf8d6b7422188a9eefd31acd2e3c2127b24293379bb57134d033fd
Contents?: true
Size: 673 Bytes
Versions: 10
Compression:
Stored size: 673 Bytes
Contents
require 'rack' # 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. class Susanoo::Application end require 'susanoo/controllers/index' require 'susanoo/controllers/views' require 'susanoo/controllers/assets' require 'susanoo/controllers/static'
Version data entries
10 entries across 10 versions & 1 rubygems