Class: AssetsOnHeroku::Rack
- Inherits:
-
Rack::Static
- Object
- Rack::Static
- AssetsOnHeroku::Rack
- Defined in:
- lib/assets_on_heroku.rb
Instance Method Summary collapse
-
#initialize(app, options = { :urls => ["/stylesheets", "/javascripts"], :root => "tmp/public" }) ⇒ Rack
constructor
A new instance of Rack.
Constructor Details
#initialize(app, options = { :urls => ["/stylesheets", "/javascripts"], :root => "tmp/public" }) ⇒ Rack
Returns a new instance of Rack.
3 4 5 6 7 8 |
# File 'lib/assets_on_heroku.rb', line 3 def initialize(app, = { :urls => ["/stylesheets", "/javascripts"], :root => "tmp/public" }) @root = [:root] setup super(app, ) end |