Class | Nanoc::Extra::AutoCompiler |
In: |
lib/nanoc/extra/auto_compiler.rb
|
Parent: | Object |
A web server that will automatically compile items as they are requested. It also serves static files such as stylesheets and images.
site | [R] | @return [Nanoc::Site] The site this autocompiler belongs to |
Calls the autocompiler. The behaviour of this method is defined by the [Rack specification](rack.rubyforge.org/doc/files/SPEC.html).
@param [Hash] env The environment, as defined by the Rack specification
@return [Array] An array containing the status, the headers, and the
body, as defined by the Rack specification