Sha256: 655f4592b9d810948ca29fef020405733d742539de8d02a042223e6aac52519b

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

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

        module VERSION
          MAJOR = 4
          MINOR = 10
          TINY = 0
          PRE = nil

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dradis-calculator_cvss-4.10.0 lib/dradis/plugins/calculators/cvss/gem_version.rb