Class: Trinidad::Extensions::ServerExtension

Inherits:
Extension
  • Object
show all
Defined in:
lib/trinidad/extensions.rb

Instance Attribute Summary

Attributes inherited from Extension

#options

Instance Method Summary collapse

Methods inherited from Extension

#initialize

Methods included from Helpers

camelize, deprecate, silence!, silence?, warn

Constructor Details

This class inherits a constructor from Trinidad::Extensions::Extension

Instance Method Details

#configure(tomcat) ⇒ Object

Raises:

  • (NotImplementedError)


101
102
103
# File 'lib/trinidad/extensions.rb', line 101

def configure(tomcat)
  raise NotImplementedError, "#{self.class.name}#configure(tomcat) not implemented"
end

#override_tomcat?Boolean

#deprecated override tomcat by returning it from #configure

Returns:

  • (Boolean)


106
# File 'lib/trinidad/extensions.rb', line 106

def override_tomcat?; false; end