Registry / web-framework / rack-plastic

rack-plastic

JSON →
library0.1.3rbrubygemsunverified

Boilerplate Rack middleware for modifying HTML responses.

gem install rack-plastic
INSTALL
IMPORT
SIG · RACK-PLASTIC
R
rack-plastic
web-frameworkrubyv0.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rack::Plastic
require 'rack/plastic'

Create a Rack middleware that replaces text in HTML responses.

require 'rack/plastic' class MyMiddleware < Rack::Plastic def change_response(body) body.gsub('old', 'new') end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.3latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
rack-plastic — gem install rack-plastic · libregistry