Method: TZInfo::DataSources::ZoneinfoDataSource.alternate_iso3166_tab_search_path=

Defined in:
lib/tzinfo/data_sources/zoneinfo_data_source.rb

.alternate_iso3166_tab_search_path=(alternate_iso3166_tab_search_path) ⇒ Object

Sets the paths to check to locate an alternate iso3166.tab file if one was not included in the zoneinfo directory.

Can be set to an Array of paths or a String containing paths separated with File::PATH_SEPARATOR.

Paths are checked in the order they appear in the array.

Set to nil to revert to the default paths.

Parameters:

  • alternate_iso3166_tab_search_path (Object)

    either nil or a list of paths to check as either an Array of String or a File::PATH_SEPARATOR separated String.


173
174
175
# File 'lib/tzinfo/data_sources/zoneinfo_data_source.rb', line 173

def alternate_iso3166_tab_search_path=(alternate_iso3166_tab_search_path)
  @@alternate_iso3166_tab_search_path = process_search_path(alternate_iso3166_tab_search_path, DEFAULT_ALTERNATE_ISO3166_TAB_SEARCH_PATH)
end