File: //proc/self/root/opt/alt/ruby32/share/gems/doc/domain_name-0.6.20240107/ri/page-README_md.ri
U:RDoc::TopLevel[ i I"README.md:ETcRDoc::Parser::Markdowno:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading:
leveli: textI"domain_name;TS; ;
i;I"
Synopsis;To:RDoc::Markup::Paragraph;[I".Domain Name manipulation library for Ruby;TS; ;
i;I"Description;To:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;;[I"NParses a domain name ready for extracting the registered domain and
TLD.;Fo:RDoc::Markup::Verbatim;[I"require "domain_name"
;FI"
;TI",host = DomainName("a.b.example.co.uk")
;FI"-host.domain #=> "example.co.uk"
;FI""host.tld #=> "uk"
;FI"6host.cookie_domain?("example.co.uk") #=> true
;FI"7host.cookie_domain?("co.uk") #=> false
;F@I"ahost = DomainName("[::1]") # IP addresses like "192.168.1.1" and "::1" are also acceptable
;FI""host.ipaddr? #=> true
;FI"6host.cookie_domain?("0:0:0:0:0:0:0:1") #=> true
;F:@format0o;;0;[o;;[I"(Implements rudimental IDNA support.;FS; ;
i;I"To-do's;To;
;;;[o;;0;[o;;[I"�Implement IDNA 2008 (and/or 2003) including the domain label
validation and mapping defined in RFC 5891-5895 and UTS #46.
(work in progress);Fo;;0;[o;;[I"0Define a compact YAML serialization format.;FS; ;
i;I"Installation;To;;[I"! gem install domain_name
;T;0S; ;
i;I"References;To;
;;;[o;;0;[o;;[I"S{RFC 3492}[http://tools.ietf.org/html/rfc3492] (Obsolete; just for test cases);To;;0;[o;;[I"3{RFC 5890}[http://tools.ietf.org/html/rfc5890];To;;0;[o;;[I"3{RFC 5891}[http://tools.ietf.org/html/rfc5891];To;;0;[o;;[I"3{RFC 5892}[http://tools.ietf.org/html/rfc5892];To;;0;[o;;[I"3{RFC 5893}[http://tools.ietf.org/html/rfc5892];To;;0;[o;;[I"9{Public Suffix List}[https://publicsuffix.org/list/];TS; ;
i;I"License;To;;[I"*Copyright (c) 2011-2017 Akinori MUSHA;To;;[I"-Licensed under the 2-clause BSD license.;To;;[I"�Some portion of this library is copyrighted by third parties and
licensed under MPL 2.0 or 3-clause BSD license,
See <code>LICENSE.txt</code> for details.;T:
@file@:0@omit_headings_from_table_of_contents_below0