Current Path : /usr/local/share/ri/1.8/system/Resolv/DNS/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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