module TZInfo

The top level module for TZInfo.

Constants

VERSION

The TZInfo version number.

Public Class Methods

Instructs the current {DataSource} to load all timezone and country data into memory (initializing the {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 {DataSources::RubyDataSource}.

# File lib/tzinfo.rb, line 14
def eager_load!
  DataSource.get.eager_load!
end