Method: ActionView::I18nProxy#initialize
- Defined in:
- actionview/lib/action_view/rendering.rb
#initialize(original_config, lookup_context) ⇒ I18nProxy
Returns a new instance of I18nProxy.
9 10 11 12 |
# File 'actionview/lib/action_view/rendering.rb', line 9 def initialize(original_config, lookup_context) original_config = original_config.original_config if original_config.respond_to?(:original_config) @original_config, @lookup_context = original_config, lookup_context end |