Sha256: 5e66b6b503e768c9a71f883a6811edb615bd3c3d085adca526200d50c30742a9
Contents?: true
Size: 641 Bytes
Versions: 2
Compression:
Stored size: 641 Bytes
Contents
module Kirk module Applications class Config include Native::ApplicationConfig attr_accessor :hosts, :listen, :watch, :rackup, :application_path, :bootstrap_path def initialize @hosts = [] @listen = listen end def application_path @application_path || File.dirname(rackup) end # Handle the java interface alias getApplicationPath application_path alias getRackupPath rackup alias getBootstrapPath bootstrap_path end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kirk-0.1.5-java | lib/kirk/applications/config.rb |
kirk-0.1.0-java | lib/kirk/applications/config.rb |