Module: Buildr
- Defined in:
- lib/tomcat.rb
Defined Under Namespace
Classes: Tomcat
Instance Method Summary collapse
-
#tomcat ⇒ Object
:call-seq: tomcat() => Tomcat.
Instance Method Details
#tomcat ⇒ Object
: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 |