Module: TZInfo
Overview
The top level module for TZInfo
.
Constant Summary
-
CountryIndexDefinition =
private
Internal use only
Alias used by TZInfo::Data format1 releases.
Format1::CountryIndexDefinition
-
TimezoneDefinition =
private
Internal use only
Alias used by TZInfo::Data format1 releases.
Format1::TimezoneDefinition
-
TimezoneIndexDefinition =
private
Internal use only
Alias used by TZInfo::Data format 1 releases.
Format1::TimezoneIndexDefinition
-
VERSION =
The TZInfo version number.
'2.0.6'
Class Method Summary
-
.eager_load!
Instructs the current
DataSource
to load all timezone and country data into memory (initializing theDataSource
first if not previously accessed or set).
Class Method Details
.eager_load!
Instructs the current ::TZInfo::DataSource
to load all timezone and country data
into memory (initializing the ::TZInfo::DataSource
first if not previously
accessed or set).
This may be desirable in production environments to improve copy-on-write
performance and to avoid flushing the constant cache every time a new
timezone or country is loaded from ::TZInfo::DataSources::RubyDataSource
.
# File 'lib/tzinfo.rb', line 14
def eager_load! DataSource.get.eager_load! end