Class: Rack::PlasticHelper

Inherits:
Object
  • Object
show all
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

Instance Method Details

#optionsObject



15
16
17
# File 'lib/plastic_helper.rb', line 15

def options
  @options
end

#requestObject

:nodoc:



11
12
13
# File 'lib/plastic_helper.rb', line 11

def request
  @request
end