lib/i18n_attributes/configuration.rb in i18n_attributes-0.1.3 vs lib/i18n_attributes/configuration.rb in i18n_attributes-0.1.4
- old
+ new
@@ -1,14 +1,8 @@
module I18nAttributes
Configuration = Struct.new(
- :locales,
- :enums_attributes
+ :locales
).new(
- [:en],
- {
- "gender" => {"male" => "Male", "female" => "Female"},
- "state" => {"pending" => "Pending", "processing" => "Processing", "processed" => "Processed"},
- "category" => {"a" => "A", "b" => "B"}
- }
+ [:en]
)
end