Classes: Tomcat
:call-seq: tomcat() => Tomcat.
: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