Class: I18nAi::Configuration
- Inherits:
-
Object
- Object
- I18nAi::Configuration
- Defined in:
- lib/i18n_ai/configuration.rb
Overview
Configuration class for I18nAi
Instance Attribute Summary collapse
-
#ai_settings ⇒ Object
Returns the value of attribute ai_settings.
-
#generate_locales ⇒ Object
Returns the value of attribute generate_locales.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/i18n_ai/configuration.rb', line 8 def initialize @ai_settings = {} @generate_locales = [:es] end |
Instance Attribute Details
#ai_settings ⇒ Object
Returns the value of attribute ai_settings.
6 7 8 |
# File 'lib/i18n_ai/configuration.rb', line 6 def ai_settings @ai_settings end |
#generate_locales ⇒ Object
Returns the value of attribute generate_locales.
6 7 8 |
# File 'lib/i18n_ai/configuration.rb', line 6 def generate_locales @generate_locales end |