Returns true if other
is a subdomain.
Example:
domain = Resolv::DNS::Name.create("y.z")
p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain)
p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain)
p Resolv::DNS::Name.create("y.z").subdomain_of?(domain)
p Resolv::DNS::Name.create("z").subdomain_of?(domain)
p Resolv::DNS::Name.create("x.y.z.").subdomain_of?(domain)
p Resolv::DNS::Name.create("w.z").subdomain_of?(domain)
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
Content: [ String tag_name, Hash
attributes ]
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available