Class: Trinidad::Extensions::BonecpWebAppExtension
- Inherits:
-
WebAppExtension
- Object
- WebAppExtension
- Trinidad::Extensions::BonecpWebAppExtension
- Defined in:
- lib/trinidad_bonecp/webapp_extension.rb
Instance Method Summary collapse
Instance Method Details
#configure(tomcat, app_context) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/trinidad_bonecp/webapp_extension.rb', line 5 def configure(tomcat, app_context) case @options when Hash [create_resource(tomcat, app_context, @options)] when Array @options.map { |opts| create_resource tomcat, app_context, opts } end end |