Sha256: 82b1339b3533eba4d1faa392957c55321cbdfd2642e2e618e2149eeaa5606166
Contents?: true
Size: 729 Bytes
Versions: 5
Compression:
Stored size: 729 Bytes
Contents
# 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 Metasploit::Model::Derivation::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
Version data entries
5 entries across 5 versions & 1 rubygems