Sha256: 80dd617f5c91cf00d140eceb3725a4e9b99da00fdfe9f3a82a0cfaad0dafc9a8

Contents?: true

Size: 380 Bytes

Versions: 2

Compression:

Stored size: 380 Bytes

Contents

module Trinidad
  class RackupWebApp < WebApp

    def init_params
      super
      if rackup_path = rackup
        rackup_path = File.join(rackup_path, 'config.ru') if File.directory?(rackup_path)
        add_parameter_unless_exist('rackup.path', rackup_path)
      end
      @params
    end

    def context_listener; 'org.jruby.rack.RackServletContextListener'; end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trinidad-0.9.3 lib/trinidad/rackup_web_app.rb
trinidad-0.9.2 lib/trinidad/rackup_web_app.rb