string interpolation is preferred over concatenation

Please refer to https://github.com/bbatsov/ruby-style-guide
bug/bundler_fix
sinn3r 2014-07-03 12:46:56 -05:00
parent b781b87d74
commit 1d828a951f
1 changed files with 3 additions and 3 deletions

View File

@ -50,13 +50,13 @@ class Metasploit3 < Msf::Post
qtype = datastore["TYPE"]
end
if qcred
print_status("Credential Filter: " + qcred)
print_status("Credential Filter: #{qcred}")
end
if qpath
print_status("Executable Path Filter: " + qpath)
print_status("Executable Path Filter: #{qpath}")
end
if qtype
print_status("Start Type Filter: " + qtype)
print_status("Start Type Filter: #{qtype}")
end
if datastore['VERBOSE']