class Rubble::Target::Tomcat

Public Class Methods

new(name) click to toggle source
Calls superclass method Rubble::Target::Base::new
# File lib/rubble/target/tomcat.rb, line 9
def initialize(name)
    super(name)
    @base_dir = "/var/lib/tomcat7#{suffix}"
    @webapps_dir = "webapps"
end

Public Instance Methods

webapps_dir() click to toggle source
# File lib/rubble/target/tomcat.rb, line 15
def webapps_dir
    File.expand_path(@base_dir, @webapps_dir)
end