Module: Dradis::Plugins::Calculators::CVSS

Defined in:
lib/dradis-calculator_cvss.rb,
lib/dradis/plugins/calculators/cvss/engine.rb,
lib/dradis/plugins/calculators/cvss/version.rb,
app/models/dradis/plugins/calculators/cvss/v3.rb,
app/models/dradis/plugins/calculators/cvss/v4.rb,
lib/dradis/plugins/calculators/cvss/gem_version.rb,
app/controllers/dradis/plugins/calculators/cvss/base_controller.rb,
app/controllers/dradis/plugins/calculators/cvss/issues_controller.rb

Defined Under Namespace

Modules: VERSION Classes: BaseController, Engine, IssuesController, V3, V4

Class Method Summary collapse

Class Method Details

.gem_versionObject

Returns the version of the currently loaded CVSS Calculator as a Gem::Version



6
7
8
# File 'lib/dradis/plugins/calculators/cvss/gem_version.rb', line 6

def self.gem_version
  Gem::Version.new VERSION::STRING
end

.versionObject

Returns the version of the currently loaded CVSS Calculator as a Gem::Version.



9
10
11
# File 'lib/dradis/plugins/calculators/cvss/version.rb', line 9

def self.version
  gem_version
end