Sha256: 437a87df9ffd17932c5ed8915d3e745e2b97feffb9d00ca43fe58554a946dace

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

module Dradis
  module Plugins
    module OpenVAS
      # Returns the version of the currently loaded OpenVAS as a <tt>Gem::Version</tt>
      def self.gem_version
        Gem::Version.new VERSION::STRING
      end

      module VERSION
        MAJOR = 3
        MINOR = 6
        TINY = 0
        PRE = nil

        STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dradis-openvas-3.6.0 lib/dradis/plugins/openvas/gem_version.rb