Sha256: 1a04d8f6f6e4c0fccd241a319c5bb5ca7fa1f235f69972ba64acc07ecd7cb25c

Contents?: true

Size: 259 Bytes

Versions: 2

Compression:

Stored size: 259 Bytes

Contents

module Trinidad
  class WarWebApp < WebApp
    def context_path
      super.gsub(/\.war$/, '')
    end

    def work_dir
      File.join(web_app_dir.gsub(/\.war$/, ''), 'WEB-INF')
    end

    def monitor
      File.expand_path(web_app_dir)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trinidad-1.1.1 lib/trinidad/war_web_app.rb
trinidad-1.1.0 lib/trinidad/war_web_app.rb