Skip to content

Commit 14a5efc

Browse files
committed
Add yardoc
1 parent cd5699d commit 14a5efc

File tree

1 file changed

+3
-0
lines changed
  • lib/rex/post/meterpreter/extensions/stdapi/sys

1 file changed

+3
-0
lines changed

lib/rex/post/meterpreter/extensions/stdapi/sys/registry.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,9 @@ def self.key2str(key)
380380
# Returns the integer value associated with the supplied registry value
381381
# type (like REG_SZ).
382382
#
383+
# @see https://msdn.microsoft.com/en-us/library/windows/desktop/ms724884(v=vs.85).aspx
384+
# @param type [String] A Windows registry type constant name, e.g. 'REG_SZ'
385+
# @return [Integer] one of the `REG_*` constants
383386
def self.type2str(type)
384387
case type
385388
when 'REG_BINARY' then REG_BINARY

0 commit comments

Comments
 (0)