Sha256: 63a5e317ec97353450cdb92f03e5c76bacf58ad59fb902df5c9a866769b4538c
Contents?: true
Size: 849 Bytes
Versions: 46
Compression:
Stored size: 849 Bytes
Contents
# encoding: UTF-8 module TZInfo # A {Timezone} based on a {DataSources::TimezoneInfo}. # # @abstract class InfoTimezone < Timezone # Initializes a new {InfoTimezone}. # # {InfoTimezone} instances should not normally be created directly. Use # the {Timezone.get} method to obtain {Timezone} instances. # # @param info [DataSources::TimezoneInfo] a {DataSources::TimezoneInfo} # instance supplied by a {DataSource} that will be used as the source of # data for this {InfoTimezone}. def initialize(info) super() @info = info end # (see Timezone#identifier) def identifier @info.identifier end protected # @return [DataSources::TimezoneInfo] the {DataSources::TimezoneInfo} this # {InfoTimezone} is based on. def info @info end end end
Version data entries
46 entries across 41 versions & 22 rubygems