AlkantarClanX12
Current Path : /opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Deflater/ |
Current File : //opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Deflater/new-c.ri |
U:RDoc::AnyMethod[iI"new:EFI"Rack::Deflater::new;FT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"'Creates Rack::Deflater middleware.;Fo:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type: LABEL:@items[o:RDoc::Markup::ListItem:@labelI"app;F; [o; ; [I"rack app instance;Fo;;I"options;F; [o; ; [I"#hash of deflater options, i.e.;FI"S'if' - a lambda enabling / disabling deflation based on returned boolean value;Fo:RDoc::Markup::Verbatim; [I"^e.g use Rack::Deflater, :if => lambda { |env, status, headers, body| body.length > 512 } ;Fo; ; [I"B'include' - a list of content types that should be compressed;F: @file000[ I"(app, options = {});FI"lib/rack/deflater.rb;F