Module: Ronin::Exploits::Metadata::Shouts
- Defined in:
- lib/ronin/exploits/metadata/shouts.rb
Overview
Adds a shouts metadata attribute to a class.
Example
require 'ronin/exploits/metadata/shouts'
class MyExploit < Exploit
include Metadata::Shouts
shouts ['Ultra Laser', 'Dr.Doom']
end
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
private
Adds ClassMethods to the class.
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Adds ClassMethods to the class.
50 51 52 |
# File 'lib/ronin/exploits/metadata/shouts.rb', line 50 def self.included(base) base.extend ClassMethods end |