Skip to content

Commit 15b7435

Browse files
committed
Make it YARD compliant documentation
1 parent 20195e7 commit 15b7435

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/msf/core/post/file.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def pwd
3131
end
3232
end
3333

34-
#
35-
# Returns a list of the contents of the specified +directory+
36-
#
34+
# Returns a list of the contents of the specified directory
35+
# @param directory [String] the directory to list
36+
# @return [Array] the contents of the directory
3737
def dir(directory = nil)
3838
if session.type == 'meterpreter'
3939
return session.fs.dir.entries(directory)

0 commit comments

Comments
 (0)