U:RDoc::AnyMethod[iI"subdomain_of?:EFI"$Resolv::DNS::Name#subdomain_of?;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I",Returns true if +other+ is a subdomain.;To:RDoc::Markup::BlankLineo; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [ I".domain = Resolv::DNS::Name.create("y.z") ;TI"Jp Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true ;TI"Hp Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true ;TI"Gp Resolv::DNS::Name.create("y.z").subdomain_of?(domain) #=> false ;TI"Ep Resolv::DNS::Name.create("z").subdomain_of?(domain) #=> false ;TI"Jp Resolv::DNS::Name.create("x.y.z.").subdomain_of?(domain) #=> false ;TI"Fp Resolv::DNS::Name.create("w.z").subdomain_of?(domain) #=> false;T: @format0: @fileI"lib/resolv.rb;T:0@omit_headings_from_table_of_contents_below000[I" (other);T@FI" Name;TcRDoc::NormalClass00