Padrino::Reloader::Rack

Class: Padrino::Reloader::Rack

Inherits:
Object
  • Object

Overview

This class acts as a Rack middleware to be added to the application stack. This middleware performs a check and reload for source files at the start of each request, but also respects a specified cool down time during which no further action will be taken.

Instance Method Summary

Constructor Details

#initialize(app, cooldown = 1) ⇒ Rack

Returns a new instance of Rack

Instance Method Details

#call(env) ⇒ Object

Invoked in order to perform the reload as part of the request stack.

© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Reloader/Rack

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部