Sha256: 764094853c6da973aa06cce25c474323d183d86767cad3466b16d99786b1b2dd

Contents?: true

Size: 424 Bytes

Versions: 12

Compression:

Stored size: 424 Bytes

Contents

WorldFlags.auto_select! # = false to disable

# cc_en = 'app/config/country_codes/iso-3166-2.en.json'
# cc_path = File.join(Rails.root, cc_en)
# country_codes_en = JSON.parse File.read(cc_path)

# WorldFlags.languages = some_language_hash # fx loaded from a yaml file
# WorldFlags.countries = some_country_hash # fx loaded from a yaml file

# WorldFlags.active_locales = [:en, :da]

# WorldFlags.locale_flag_map = some hash

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
world-flags-0.4.3 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.4.2 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.4.1 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.4.0 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.3.6 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.3.5 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.3.4 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.3.2.2 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.3.2.1 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.3.2 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.3.1 lib/generators/world_flags/templates/world_flags.erb
world-flags-0.3.0 lib/generators/world_flags/templates/world_flags.erb