Skip to content

Commit 3542f85

Browse files
Meatballs1firefart
authored andcommitted
Fix some yarddoc issues
1 parent e8bc89a commit 3542f85

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

lib/msf/core/modules/loader/directory.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ def read_module_content(parent_path, type, module_reference_name)
109109

110110
module_content
111111
end
112-
end
112+
end

lib/rex/mime/part.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def binary_content?
3636

3737
# Returns the Content-Transfer-Encoding of the part.
3838
#
39-
# @returns [nil] if the part hasn't Content-Transfer-Encoding.
40-
# @returns [String] The Content-Transfer-Encoding or the part.
39+
# @return [nil] if the part hasn't Content-Transfer-Encoding.
40+
# @return [String] The Content-Transfer-Encoding or the part.
4141
def transfer_encoding
4242
h = header.find('Content-Transfer-Encoding')
4343
return nil if h.nil?

lib/rex/post/meterpreter/extensions/extapi/adsi/adsi.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def initialize(client)
3232
# @param fields [Array] Array of string fields to return for
3333
# each result found
3434
#
35-
# @returns [Hash] Array of field names with associated results.
35+
# @return [Hash] Array of field names with associated results.
3636
#
3737
def domain_query(domain_name, filter, max_results, page_size, fields)
3838
request = Packet.create_request('extapi_adsi_domain_query')

lib/rex/post/meterpreter/extensions/extapi/wmi/wmi.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def initialize(client)
2626
# @param root [String] Specify root to target, otherwise defaults
2727
# to 'root\cimv2'
2828
#
29-
# @returns [Hash] Array of field names with associated values.
29+
# @return [Hash] Array of field names with associated values.
3030
#
3131
def query(query, root = nil)
3232
request = Packet.create_request('extapi_wmi_query')

0 commit comments

Comments
 (0)