Sha256: 035c0727dbdae1c54762c3f7d43f3f142c8e5639f2d27a44fac4cae1a9a70aaf
Contents?: true
Size: 523 Bytes
Versions: 10
Compression:
Stored size: 523 Bytes
Contents
module Trinidad module Extensions class FooWebAppExtension < WebAppExtension def configure(tomcat, app_context) app_context.doc_base = 'foo_app_extension' if app_context end end class FooServerExtension < ServerExtension def configure(tomcat) @options end end class FooOptionsExtension < OptionsExtension def configure(parser, default_options) parser.on('--foo') do default_options[:bar] = true end end end end end
Version data entries
10 entries across 10 versions & 2 rubygems