--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Look up the <tt>typeclass</tt> DNS resource of <tt>name</tt>.
- !ruby/struct:SM::Flow::P 
  body: <tt>name</tt> must be a Resolv::DNS::Name or a String.
- !ruby/struct:SM::Flow::P 
  body: "<tt>typeclass</tt> should be one of the following:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::A
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::AAAA
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::ANY
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::CNAME
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::HINFO
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::MINFO
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::MX
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::NS
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::PTR
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::SOA
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::TXT
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Resolv::DNS::Resource::IN::WKS
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: Returned resource is represented as a Resolv::DNS::Resource instance, i.e. Resolv::DNS::Resource::IN::A.
full_name: Resolv::DNS#getresource
is_singleton: false
name: getresource
params: (name, typeclass)
visibility: public
