Sha256: 0e67accf7baf0dc0ffcefcc7f65599f9310a0ee74aeb57c126f92c0bdda3595b

Contents?: true

Size: 598 Bytes

Versions: 5

Compression:

Stored size: 598 Bytes

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

# Network address option.
#
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
class Arachni::Component::Options::Path < Arachni::Component::Options::Base

    def valid?
        return false if !super
        File.exists?( effective_value )
    end

    def type
        :path
    end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 lib/arachni/component/options/path.rb
arachni-1.6.1.2 lib/arachni/component/options/path.rb
arachni-1.6.1.1 lib/arachni/component/options/path.rb
arachni-1.6.1 lib/arachni/component/options/path.rb
arachni-1.6.0 lib/arachni/component/options/path.rb