Class: Rack::PlasticHelper
- Inherits:
-
Object
- Object
- Rack::PlasticHelper
- Defined in:
- lib/plastic_helper.rb
Overview
PlasticHelper was created to separate Plastic’s implementation from Plastic’s interface.
This class basically contains all of the Rack code that you’d have to write every time you wanted to write a new middleware that modifies the HTML response.
Instance Method Summary collapse
- #options ⇒ Object
-
#request ⇒ Object
:nodoc:.
Instance Method Details
#options ⇒ Object
15 16 17 |
# File 'lib/plastic_helper.rb', line 15 def @options end |
#request ⇒ Object
:nodoc:
11 12 13 |
# File 'lib/plastic_helper.rb', line 11 def request @request end |