File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,15 @@ def self.optionally_active_record_railtie
59
59
end
60
60
end
61
61
62
- # Tries to `require 'metasploit/credential/creation'` and include it in the `including_module`.
62
+ # Tries to `require 'metasploit/credential'` and include `Metasploit::Credential::Creation` in the
63
+ # `including_module`.
63
64
#
64
65
# @param including_module [Module] `Class` or `Module` that wants to `include Metasploit::Credential::Creation`.
65
66
# @return [void]
66
67
def self . optionally_include_metasploit_credential_creation ( including_module )
67
68
optionally (
68
- 'metasploit/credential/creation ' ,
69
- "metasploit-credential not in the bundle, so Metasploit::Credential creation will fail for #{ including_module . name } " ,
69
+ 'metasploit/credential' ,
70
+ "metasploit-credential not in the bundle, so Metasploit::Credential creation will fail for #{ including_module . name } "
70
71
) do
71
72
including_module . send ( :include , Metasploit ::Credential ::Creation )
72
73
end
You can’t perform that action at this time.
0 commit comments