Skip to content

Commit 45e5dca

Browse files
committed
Add score method for cvss v4
1 parent 59f8bd9 commit 45e5dca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/cvss_suite/cvss_40_and_later.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,11 @@ def overall_score
4141

4242
@all_up.score
4343
end
44+
45+
##
46+
# Alias for overall_score.
47+
def score
48+
overall_score
49+
end
4450
end
4551
end

0 commit comments

Comments
 (0)