Sha256: 68bdecbf64c0f7a549d7b817187cc8d36b884414e00ec3d96683ed356ee3f8f8

Contents?: true

Size: 336 Bytes

Versions: 17

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

require 'avm/patches/eac_ruby_gems_utils/gem'
require 'i18n'

module Avm
  module Apps
    module Sources
      class Configuration < ::EacConfig::OldConfigs
        LOCALE_KEY = :locale

        def locale
          read_entry(LOCALE_KEY) || ::I18n.default_locale
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
avm-tools-0.106.0 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-apps-0.4.1 lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.105.0 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.104.0 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.103.1 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.103.0 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-apps-0.4.0 lib/avm/apps/sources/configuration/_locale.rb
ehbrs-tools-0.22.0 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.102.2 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.102.1 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.102.0 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-apps-0.3.0 lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.101.0 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.100.0 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.99.1 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb
avm-apps-0.2.1 lib/avm/apps/sources/configuration/_locale.rb
avm-tools-0.99.0 vendor/avm-apps/lib/avm/apps/sources/configuration/_locale.rb