Rack middleware which invokes the given lambda (or any object which implements .call).
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
rack-call.gemspec

README.md

rack-call

Rack middleware which invokes the given lambda (or any object which implements .call).

It's great for those one-liners.

Usage

use RackCall, lambda {my_database_connection.reconnect}