Skip to content

Commit 4335477

Browse files
committed
Fully qualified Msf::RankingName in Msf::Module::Ranking
MSP-11126 To compensate for loss of `Msf` lexical scope.
1 parent ae45c1b commit 4335477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/module/ranking.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def rank_to_h
2020
# Returns this module's ranking as a string representation.
2121
#
2222
def rank_to_s
23-
RankingName[rank]
23+
Msf::RankingName[rank]
2424
end
2525
end
2626

0 commit comments

Comments
 (0)