In Files

Parent

Namespace

Methods

Files

Class/Module Index [+]

Quicksearch

Hassle

Public Class Methods

new(app) click to toggle source
# File lib/hassle.rb, line 6
def initialize(app)
  compiler = Hassle::Compiler.new
  compiler.compile
  @static = Rack::Static.new(app,
                             :urls => compiler.stylesheets,
                             :root => compiler.compile_location)
end

Public Instance Methods

call(env) click to toggle source
# File lib/hassle.rb, line 14
def call(env)
  @static.call(env)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.