Module: Roda::RodaPlugins::ServerTiming
- Defined in:
- lib/roda/plugins/server_timing.rb
Defined Under Namespace
Modules: InstanceMethods, RenderMethods
Class Method Summary collapse
-
.configure(app) ⇒ Object
:nodoc:.
Class Method Details
.configure(app) ⇒ Object
:nodoc:
36 37 38 39 40 41 42 |
# File 'lib/roda/plugins/server_timing.rb', line 36 def self.configure(app) # :nodoc: app.use RackServerTiming::Middleware if app.opts.has_key?(:render) app.send(:include, RenderMethods) end end |