Module: Buildr

Defined in:
lib/tomcat.rb

Defined Under Namespace

Classes: Tomcat

Instance Method Summary collapse

Instance Method Details

#tomcatObject

:call-seq:

tomcat() => Tomcat

Returns a Tomcat object. You can use this to discover the Tomcat#use task, configure the Tomcat#setup and Tomcat#teardown tasks, deploy and undeploy to Tomcat.



197
198
199
# File 'lib/tomcat.rb', line 197

def tomcat()
  @tomcat ||= Tomcat.instance
end