Method: TZInfo::Timezone.all

Defined in:
lib/tzinfo/timezone.rb

.allArray<Timezone>

Returns an Array of all the available time zones.

TZInfo::TimezoneProxy instances are returned to avoid the overhead of loading time zone data until it is first needed.

Returns:

  • (Array<Timezone>)

    all available time zones.



151
152
153
# File 'lib/tzinfo/timezone.rb', line 151

def all
  get_proxies(all_identifiers)
end