Sha256: d760ff74d9312b7cf3f7ca30ad076f989b726f2780f539100737fd057698dd13
Contents?: true
Size: 458 Bytes
Versions: 1
Compression:
Stored size: 458 Bytes
Contents
require 'configatron' module Jettr module Handler class WebApp < Jetty::Handler::WebAppContext attr_reader :config def initialize(options={}) super() @config = Configatron::Store.new config.configure_from_hash(options) config.set_default(:app_path, ".") config.set_default(:app_uri, "/") self.context_path = config.app_uri self.war = config.app_path end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jettr-0.2.1-java | lib/jettr/handler/web_app.rb |