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
-
#rank ⇒ Object
Returns the module’s rank.
-
#rank_to_h ⇒ Object
Returns the module’s rank in display format.
-
#rank_to_s ⇒ Object
Returns the module’s rank in string format.
Instance Method Details
#rank ⇒ Object
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_h ⇒ Object
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_s ⇒ Object
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 |