Fix some yarddoc issues

bug/bundler_fix
Meatballs 2014-05-05 21:18:48 +01:00 committed by Christian Mehlmauer
parent e8bc89af30
commit 3542f851bf
4 changed files with 5 additions and 5 deletions

View File

@ -109,4 +109,4 @@ class Msf::Modules::Loader::Directory < Msf::Modules::Loader::Base
module_content
end
end
end

View File

@ -36,8 +36,8 @@ class Part
# Returns the Content-Transfer-Encoding of the part.
#
# @returns [nil] if the part hasn't Content-Transfer-Encoding.
# @returns [String] The Content-Transfer-Encoding or the part.
# @return [nil] if the part hasn't Content-Transfer-Encoding.
# @return [String] The Content-Transfer-Encoding or the part.
def transfer_encoding
h = header.find('Content-Transfer-Encoding')
return nil if h.nil?

View File

@ -32,7 +32,7 @@ class Adsi
# @param fields [Array] Array of string fields to return for
# each result found
#
# @returns [Hash] Array of field names with associated results.
# @return [Hash] Array of field names with associated results.
#
def domain_query(domain_name, filter, max_results, page_size, fields)
request = Packet.create_request('extapi_adsi_domain_query')

View File

@ -26,7 +26,7 @@ class Wmi
# @param root [String] Specify root to target, otherwise defaults
# to 'root\cimv2'
#
# @returns [Hash] Array of field names with associated values.
# @return [Hash] Array of field names with associated values.
#
def query(query, root = nil)
request = Packet.create_request('extapi_wmi_query')