Sha256: 11d4dc50a25f0d356128a845c709330b9d20b396174f40640f3ec868e3de3d77

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

module Trinidad
  class RackupWebApp < WebApp

    def init_params
      super
      add_parameter_unless_exist 'rackup', rackup_script
      @params
    end

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

    def rackup_script
      File.read(File.join(web_app_dir, rackup))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trinidad-0.9.1 lib/trinidad/rackup_web_app.rb