Sha256: 1e8c4af79d6731094406e2145527dbb68ea35b9a0e67a13a9af1c8cb5bf210ef

Contents?: true

Size: 541 Bytes

Versions: 5

Compression:

Stored size: 541 Bytes

Contents

module ISO3166
  ##
  # <b>DEPRECATED:</b> Please use <tt>Data</tt> instead.
  # TODO: Remove at version 2.1
  # Handles building the in memory store of countries data
  class Setup
    # <b>DEPRECATED:</b> Please use <tt>Data.codes</tt> instead.
    def codes
      warn "[DEPRECATION] `Setup.codes` is deprecated.  Please use `Data.codes` instead."
      Data.codes
    end

    def data
      warn "[DEPRECATION] `Setup.new.data` is deprecated without replacement
      data is now loaded per locale Data.new(:en).call"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
countries-2.0.0.rc lib/countries/setup.rb
countries-2.0.0.pre.4 lib/countries/setup.rb
countries-2.0.0.pre.3 lib/countries/setup.rb
countries-2.0.0.pre.2 lib/countries/setup.rb
countries-2.0.0.pre lib/countries/setup.rb