Skip to content

Commit a0a2fdd

Browse files
committed
Land rapid7#3562, yardoc cleanup
2 parents 8b2ff06 + 57839e0 commit a0a2fdd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/msf/core/exploit/cmdstager.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def select_cmdstager(opts = {})
154154

155155
# Returns a hash with the :decoder option if possible
156156
#
157-
# @params opts [Hash] Input Hash.
157+
# @param opts [Hash] Input Hash.
158158
# @return [Hash] Hash with the input data and a :decoder option when
159159
# possible.
160160
def opts_with_decoder(opts = {})
@@ -279,7 +279,7 @@ def target_flavor
279279
# Answers if the input flavor is compatible with the current target or module.
280280
#
281281
# @param f [Symbol] The flavor to check
282-
# @returns [Boolean] true if compatible, false otherwise.
282+
# @return [Boolean] true if compatible, false otherwise.
283283
def compatible_flavor?(f)
284284
return true if target_flavor.nil?
285285
case target_flavor.class.to_s

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def loadable?(path)
1818
# Yields the module_reference_name for each module file found under the directory path.
1919
#
2020
# @param [String] path The path to the directory.
21-
# @param [Array] modules An array of regex patterns to search for specific modules
21+
# @param [Hash] opts Input Hash.
2222
# @yield (see Msf::Modules::Loader::Base#each_module_reference_name)
2323
# @yieldparam [String] path The path to the directory.
2424
# @yieldparam [String] type The type correlated with the directory under path.

lib/msf/ui/console/command_dispatcher/db.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1802,7 +1802,7 @@ def db_parse_db_uri_postgresql(path)
18021802
# Miscellaneous option helpers
18031803
#
18041804

1805-
# Parse +arg+ into a {RangeWalker} and append the result into +host_ranges+
1805+
# Parse +arg+ into a {Rex::Socket::RangeWalker} and append the result into +host_ranges+
18061806
#
18071807
# @note This modifies +host_ranges+ in place
18081808
#

0 commit comments

Comments
 (0)