class Object

Public Class Methods

new(app, options={}) click to toggle source
# File lib/rack/static_decorator.rb, line 5
def initialize(app, options={})
  initialize_without_gzip_file_server(app, options)

  root = options[:root] || Dir.pwd
  @file_server = Rack::GzFile.new(root, @headers)
end