Class: I18nLazyScope::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/i18n_lazy_scope/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_scopeObject

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_scopeObject

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_scopeObject

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