Class: I18nLazyScope::Configuration
- Inherits:
-
Object
- Object
- I18nLazyScope::Configuration
- Defined in:
- lib/i18n_lazy_scope/configuration.rb
Instance Attribute Summary collapse
-
#action_controller_scope ⇒ Object
Returns the value of attribute action_controller_scope.
-
#action_mailer_scope ⇒ Object
Returns the value of attribute action_mailer_scope.
-
#action_view_scope ⇒ Object
Returns the value of attribute action_view_scope.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/i18n_lazy_scope/configuration.rb', line 5 def initialize @action_controller_scope = [:controllers] @action_mailer_scope = [:mailers] @action_view_scope = [:views] end |
Instance Attribute Details
#action_controller_scope ⇒ Object
Returns the value of attribute action_controller_scope.
3 4 5 |
# File 'lib/i18n_lazy_scope/configuration.rb', line 3 def action_controller_scope @action_controller_scope end |
#action_mailer_scope ⇒ Object
Returns the value of attribute action_mailer_scope.
3 4 5 |
# File 'lib/i18n_lazy_scope/configuration.rb', line 3 def action_mailer_scope @action_mailer_scope end |
#action_view_scope ⇒ Object
Returns the value of attribute action_view_scope.
3 4 5 |
# File 'lib/i18n_lazy_scope/configuration.rb', line 3 def action_view_scope @action_view_scope end |