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

Version Path
trinidad_jars-0.3.2 spec/fixtures/trinidad_foo_extension.rb
trinidad-0.9.6 spec/fixtures/trinidad_foo_extension.rb
trinidad_jars-0.3.1 spec/fixtures/trinidad_foo_extension.rb
trinidad-0.9.5 spec/fixtures/trinidad_foo_extension.rb
trinidad-0.9.4 spec/fixtures/trinidad_foo_extension.rb
trinidad-0.9.3 spec/fixtures/trinidad_foo_extension.rb
trinidad_jars-0.3.0 spec/fixtures/trinidad_foo_extension.rb
trinidad_jars-0.3.0.beta spec/fixtures/trinidad_foo_extension.rb
trinidad-0.9.2 spec/fixtures/trinidad_foo_extension.rb
trinidad-0.9.1 spec/fixtures/trinidad_foo_extension.rb