Sha256: 23f9896a1f7428fb280b2d32123ca8bb578a2ae652b8a3b3ae94d72b5d3ab304

Contents?: true

Size: 335 Bytes

Versions: 5

Compression:

Stored size: 335 Bytes

Contents

module I18nAttributes
  Configuration = Struct.new(
    :locales,
    :enums_attributes
  ).new(
    [:en],
    {
      "gender" => {"male" => "Male", "female" => "Female"},
      "state" => {"pending" => "Pending", "processing" => "Processing", "processed" => "Processed"},
      "category" => {"a" => "A", "b" => "B"}
    }
  )
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
i18n_attributes-0.1.3 lib/i18n_attributes/configuration.rb
i18n_attributes-0.1.2 lib/i18n_attributes/configuration.rb
i18n_attributes-0.1.1.1 lib/i18n_attributes/configuration.rb
i18n_attributes-0.1.1 lib/i18n_attributes/configuration.rb
i18n_attributes-0.1.0 lib/i18n_attributes/configuration.rb