查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: new-c.yaml
路径:
/opt/alt/ruby18/share/ri/1.8/system/Resolv/DNS/new-c.yaml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new DNS resolver. - !ruby/struct:SM::Flow::P body: "<tt>config_info</tt> can be:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "nil:" body: Uses /etc/resolv.conf. - !ruby/struct:SM::Flow::LI label: "String:" body: Path to a file using /etc/resolv.conf's format. - !ruby/struct:SM::Flow::LI label: "Hash:" body: Must contain :nameserver, :search and :ndots keys. type: :NOTE - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " Resolv::DNS.new(:nameserver => ['210.251.121.21'],\n :search => ['ruby-lang.org'],\n :ndots => 1)\n" full_name: Resolv::DNS::new is_singleton: true name: new params: (config_info=nil) visibility: public
💾 保存文件
← 返回文件管理器