diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-02-03 13:02:13 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2026-02-03 04:06:46 +0000 |
| commit | cf060ad6a6598edc58676dbbd49a78f733d5d499 (patch) | |
| tree | 1044414000ac9b0336414f0bddb1ea23f224a28c | |
| parent | c00b50298f1ece10dcdb14e1afb4cb0037e5baa7 (diff) | |
[ruby/resolv] [DOC] undocument private module/methods
https://github.com/ruby/resolv/commit/73f6bb6edb
| -rw-r--r-- | ext/win32/lib/win32/resolv.rb | 2 | ||||
| -rw-r--r-- | ext/win32/resolv/resolv.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/win32/lib/win32/resolv.rb b/ext/win32/lib/win32/resolv.rb index 8d631a2140..01e1bda351 100644 --- a/ext/win32/lib/win32/resolv.rb +++ b/ext/win32/lib/win32/resolv.rb @@ -7,7 +7,7 @@ require 'win32/resolv.so' module Win32 - module Resolv + module Resolv # :nodoc: # Error at Win32 API class Error < StandardError # +code+ Win32 Error code diff --git a/ext/win32/resolv/resolv.c b/ext/win32/resolv/resolv.c index b2d377df9f..9150df5dc1 100644 --- a/ext/win32/resolv/resolv.c +++ b/ext/win32/resolv/resolv.c @@ -53,6 +53,7 @@ wchar_to_utf8(const WCHAR *w, int n) return str; } +/* :nodoc: */ static VALUE get_dns_server_list(VALUE self) { @@ -81,7 +82,6 @@ get_dns_server_list(VALUE self) return nameservers; } - static const WCHAR TCPIP_Params[] = L"SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters"; static void @@ -116,6 +116,7 @@ reg_open_key(VALUE klass, HKEY hkey, const WCHAR *wname) return rb_ensure(rb_yield, k, hkey_close, k); } +/* :nodoc: */ static VALUE tcpip_params_open(VALUE klass) { |
