Sha256: 6fa8b7b3d76ead60ea5d82b38de8f5393a5e2ef8fa66753b3f16a3fe05164d94
Contents?: true
Size: 872 Bytes
Versions: 26
Compression:
Stored size: 872 Bytes
Contents
module Metasploit module Model module Derivation # Methods for deriving full_name from module_type and reference_name in `Mdm::Module::Ancestor`, # `Mdm::Module::Class`, `Metasploit::Framework::Module::Ancestor`, and `Metasploit::Framework::Module::Class`. module FullName # Derives full_name by combining module_type and reference_name in the same way used to create modules using # Msf::ModuleManager#create in metasploit-framework. # # @return [String] <module_type>/<reference_name> # @return [nil] if module_type is `nil`. # @return [nil] if reference_name is `nil`. def derived_full_name derived = nil if module_type and reference_name derived = "#{module_type}/#{reference_name}" end derived end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems