Module: RSpecTracer::Rails::I18nTracking::LoadTranslationsHook Private
- Defined in:
- lib/rspec_tracer/rails/i18n_tracking.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Prepended onto I18n::Backend::Base. Every subclass’s load_translations ultimately resolves through here via super. Intercepts the filename list, delegates recording to the singleton, and forwards to the real implementation.
Instance Method Summary collapse
-
#load_translations(*filenames) ⇒ Object
private
Internal method on the tracer pipeline.
Instance Method Details
#load_translations(*filenames) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Internal method on the tracer pipeline.
130 131 132 133 |
# File 'lib/rspec_tracer/rails/i18n_tracking.rb', line 130 def load_translations(*filenames) RSpecTracer::Rails::I18nTracking.record_translations(filenames) super end |