Skip to content

Commit cf060ad

Browse files
nobumatzbot
authored andcommitted
[ruby/resolv] [DOC] undocument private module/methods
ruby/resolv@73f6bb6edb
1 parent c00b502 commit cf060ad

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ext/win32/lib/win32/resolv.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
require 'win32/resolv.so'
88

99
module Win32
10-
module Resolv
10+
module Resolv # :nodoc:
1111
# Error at Win32 API
1212
class Error < StandardError
1313
# +code+ Win32 Error code

ext/win32/resolv/resolv.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ wchar_to_utf8(const WCHAR *w, int n)
5353
return str;
5454
}
5555

56+
/* :nodoc: */
5657
static VALUE
5758
get_dns_server_list(VALUE self)
5859
{
@@ -81,7 +82,6 @@ get_dns_server_list(VALUE self)
8182
return nameservers;
8283
}
8384

84-
8585
static const WCHAR TCPIP_Params[] = L"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters";
8686

8787
static void
@@ -116,6 +116,7 @@ reg_open_key(VALUE klass, HKEY hkey, const WCHAR *wname)
116116
return rb_ensure(rb_yield, k, hkey_close, k);
117117
}
118118

119+
/* :nodoc: */
119120
static VALUE
120121
tcpip_params_open(VALUE klass)
121122
{

0 commit comments

Comments
 (0)