Class: TestFilter
- Inherits:
-
Object
- Object
- TestFilter
- Defined in:
- lib/wirispluginengine/integration/testfilter.rb
Instance Method Summary collapse
Instance Method Details
#dispatch(request, response, provider, pb) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/wirispluginengine/integration/testfilter.rb', line 2 def dispatch(request, response, provider, pb) s = "<html><body><b>Formula: </b><math><mfrac><mi>x</mi><mn>1000</mn></mfrac></math></body></html>" p = Hash.new() output = pb.newTextService.filter(s,p) response.content_type = 'text/html' return output; end |