Sha256: bb62e9df342e331212f05ddf287482bef86be68284fd4fbeec2c8d1752fc7bb3

Contents?: true

Size: 1.22 KB

Versions: 4

Compression:

Stored size: 1.22 KB

Contents

=begin
    Copyright 2010-2012 Tasos Laskos <tasos.laskos@gmail.com>

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
=end

class Arachni::Plugins::WithOptions < Arachni::Plugin::Base
    def self.info
        {
            name:        'Component',
            description: %q{Component with options},
            author:      'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>',
            version:     '0.1',
            options:     [
                Options::String.new( 'req_opt', [ true, 'Required option' ] ),
                Options::String.new( 'opt_opt', [ false, 'Optional option' ] ),
                Options::String.new( 'default_opt', [ false, 'Option with default value', 'value' ] )
            ]
        }
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
arachni-0.4.1.3 spec/fixtures/plugins/with_options.rb
arachni-0.4.1.2 spec/fixtures/plugins/with_options.rb
arachni-0.4.1.1 spec/fixtures/plugins/with_options.rb
arachni-0.4.1 spec/fixtures/plugins/with_options.rb