Make it YARD compliant documentation

bug/bundler_fix
jvazquez-r7 2014-11-17 12:03:37 -06:00
parent 20195e7f37
commit 15b7435c34
1 changed files with 3 additions and 3 deletions

View File

@ -31,9 +31,9 @@ module Msf::Post::File
end
end
#
# Returns a list of the contents of the specified +directory+
#
# Returns a list of the contents of the specified directory
# @param directory [String] the directory to list
# @return [Array] the contents of the directory
def dir(directory = nil)
if session.type == 'meterpreter'
return session.fs.dir.entries(directory)