Module: Msf::Module::Ranking

Extended by:
ActiveSupport::Concern
Included in:
Msf::Module
Defined in:
lib/msf/core/module/ranking.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#rankObject

Returns the module’s rank.



34
35
36
# File 'lib/msf/core/module/ranking.rb', line 34

def rank
  self.class.rank
end

#rank_to_hObject

Returns the module’s rank in display format.



41
42
43
# File 'lib/msf/core/module/ranking.rb', line 41

def rank_to_h
  self.class.rank_to_h
end

#rank_to_sObject

Returns the module’s rank in string format.



48
49
50
# File 'lib/msf/core/module/ranking.rb', line 48

def rank_to_s
  self.class.rank_to_s
end