class TZInfo::DataSources::ZoneinfoReader
def read(file_path)
-
(InvalidZoneinfoFile)
- if `file_path`` does not refer to a valid -
(SecurityError)
- if safe mode is enabled and `file_path` is
Returns:
-
(Object)
- either a {TimezoneOffset} or an `Array` of
Parameters:
-
file_path
(String
) -- the path of a zoneinfo file.
def read(file_path) File.open(file_path, 'rb') { |file| parse(file) } end