instance method handle_interpolation_token

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

handle_interpolation_token(interpolation, matchdata)

No documentation comment.

Parameters

interpolation req
matchdata req
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb, line 55
        def handle_interpolation_token(interpolation, matchdata)
          escaped, pattern, key = matchdata.values_at(1, 2, 3)
          escaped ? pattern : compile_interpolation_token(key.to_sym)
        end

Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb line 55 · View on GitHub · Improve this page · Find usages on GitHub

Defined in I18n::Backend::InterpolationCompiler::Compiler

Type at least 2 characters to search.

↑↓ navigate · open · esc close