ok

Mini Shell

Direktori : /proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Resolv/
Upload File :
Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Resolv/cdesc-Resolv.yaml

--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: each_address
- !ruby/object:RI::MethodSummary 
  name: each_name
- !ruby/object:RI::MethodSummary 
  name: getaddress
- !ruby/object:RI::MethodSummary 
  name: getaddresses
- !ruby/object:RI::MethodSummary 
  name: getname
- !ruby/object:RI::MethodSummary 
  name: getnames
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: Resolv is a thread-aware DNS resolver library written in Ruby. Resolv can handle multiple DNS requests concurrently without blocking. The ruby interpreter.
- !ruby/struct:SM::Flow::P 
  body: "See also resolv-replace.rb to replace the libc resolver with # Resolv."
- !ruby/struct:SM::Flow::P 
  body: Resolv can look up various DNS resources using the DNS module directly.
- !ruby/struct:SM::Flow::P 
  body: "Examples:"
- !ruby/struct:SM::Flow::VERB 
  body: "  p Resolv.getaddress "www.ruby-lang.org"\n  p Resolv.getname "210.251.121.214"\n\n  Resolv::DNS.open do |dns|\n    ress = dns.getresources "www.ruby-lang.org", Resolv::DNS::Resource::IN::A\n    p ress.map { |r| r.address }\n    ress = dns.getresources "ruby-lang.org", Resolv::DNS::Resource::IN::MX\n    p ress.map { |r| [r.exchange.to_s, r.preference] }\n  end\n"
- !ruby/struct:SM::Flow::H 
  level: 2
  text: Bugs
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: NIS is not supported.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: /etc/nsswitch.conf is not supported.
  type: :BULLET
constants: 
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Default resolver to use for Resolv class methods.
  name: DefaultResolver
  value: self.new
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Address Regexp to use for matching IP addresses.
  name: AddressRegex
  value: /(?:#{IPv4::Regex})|(?:#{IPv6::Regex})/
full_name: Resolv
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: each_address
- !ruby/object:RI::MethodSummary 
  name: each_name
- !ruby/object:RI::MethodSummary 
  name: getaddress
- !ruby/object:RI::MethodSummary 
  name: getaddresses
- !ruby/object:RI::MethodSummary 
  name: getname
- !ruby/object:RI::MethodSummary 
  name: getnames
name: Resolv
superclass: Object

Zerion Mini Shell 1.0