Sha256: e8aaa0c66a43add4bc9973063d3077d758625d2232138c151dbfe5aceda04b42

Contents?: true

Size: 636 Bytes

Versions: 5

Compression:

Stored size: 636 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'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
susanoo-0.8.0 lib/susanoo/application.rb
susanoo-0.7.4 lib/susanoo/application.rb
susanoo-0.7.2 lib/susanoo/application.rb
susanoo-0.7.1 lib/susanoo/application.rb
susanoo-0.7.0 lib/susanoo/application.rb