Module: Ronin::Exploits::Metadata::DefaultFilename

Defined in:
lib/ronin/exploits/metadata/default_filename.rb

Overview

Metadata mixin that allows an exploit to define a default filename.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(exploit) ⇒ 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 an default_filename metadata attribute to the exploit.

Parameters:



38
39
40
# File 'lib/ronin/exploits/metadata/default_filename.rb', line 38

def self.included(exploit)
  exploit.extend ClassMethods
end