File: //usr/local/rvm/gems/ruby-2.5.9/doc/tzinfo-2.0.4/ri/TZInfo/DataSource/lookup_country_info-i.ri
U:RDoc::AnyMethod[iI"lookup_country_info:ETI"+TZInfo::DataSource#lookup_country_info;TF:protectedo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"8Looks up a given code in the given hash of code to ;TI"C{DataSources::CountryInfo} mappings. If the code is found the ;TI"O{DataSources::CountryInfo} is returned. Otherwise an {InvalidCountryCode} ;TI"exception is raised.;To:RDoc::Markup::BlankLine o;
; [I"M@param hash [String, DataSources::CountryInfo] a mapping from ISO 3166-1;To:RDoc::Markup::Verbatim; [I"Dalpha-2 country codes to {DataSources::CountryInfo} instances.
;T:@format0o;
; [I"4@param code [String] a country code to lookup. ;TI"J@param encoding [Encoding] the encoding used for the country codes in;To;; [I"
`hash`.
;T;
0o;
; [I"O@return [DataSources::CountryInfo] the {DataSources::CountryInfo} instance;To;; [I"corresponding to `code`.
;T;
0o;
; [I"C@raise [InvalidCountryCode] if `code` was not found in `hash`.;T:
@fileI"lib/tzinfo/data_source.rb;T:0@omit_headings_from_table_of_contents_below000[ I"-(hash, code, encoding = Encoding::UTF_8);T@(FI"DataSource;TcRDoc::NormalClass00