Sha256: 94341828debee33cc9898120c7da85102b7d0af3763d5466dccc7409e879f943
Contents?: true
Size: 373 Bytes
Versions: 2
Compression:
Stored size: 373 Bytes
Contents
module Trinidad class RackupWebApp < WebApp def add_init_params super @context.addParameter('rackup', rackup_script) unless @context.findParameter('rackup') end def context_listener 'org.jruby.rack.RackServletContextListener' end def rackup_script IO.read(File.join(@app[:web_app_dir], @app[:rackup])) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
trinidad-0.7.1 | lib/trinidad/rackup_web_app.rb |
trinidad-0.7.0 | lib/trinidad/rackup_web_app.rb |