Class: Trinidad::Extensions::ServerExtension

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

Instance Method Summary collapse

Methods inherited from Extension

#initialize

Constructor Details

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

Instance Method Details

#configure(tomcat) ⇒ Object

Raises:

  • (NotImplementedError)


59
60
61
# File 'lib/trinidad/extensions.rb', line 59

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

#override_tomcat?Boolean

hack to allow override the tomcat’s instance, it should be a better way

Returns:

  • (Boolean)


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

def override_tomcat?; false; end