module Roda::RodaPlugins::DirectCall

  1. lib/roda/plugins/direct_call.rb

The direct_call plugin makes the call class method skip the middleware stack (app.call will still call the middleware). This can be used as an optimization, as the Roda class itself can be used as the callable, which is faster than using a lambda.

Methods

Public Class

  1. configure

Public Class methods

configure (app)
[show source]
   # File lib/roda/plugins/direct_call.rb
11 def self.configure(app)
12   app.send(:build_rack_app)
13 end