class method self.load_index

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

self.load_index()

Loads in the index of timezones if it hasn’t already been loaded.

Source
# File activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb, line 495
      def self.load_index
        unless @@index_loaded
          require 'tzinfo/indexes/timezones'
          @@index_loaded = true
        end        
      end

Defined in activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb line 495 · View on GitHub · Improve this page · Find usages on GitHub

Defined in TZInfo::Timezone

Type at least 2 characters to search.

↑↓ navigate · open · esc close