Class: Cvssv2::TemporalExploitability
- Inherits:
-
Object
- Object
- Cvssv2::TemporalExploitability
- Defined in:
- lib/cvssv2/temporal_exploitability.rb
Class Method Summary collapse
Class Method Details
.score(e) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/cvssv2/temporal_exploitability.rb', line 3 def self.score(e) case e when 'U' 0.85 when "POC" 0.9 when "F" 0.95 else # not defined 1.0 end end |