instance method interpolate

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

interpolate(locale, string, values)

No documentation comment.

Parameters

locale req
string req
values req
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb, line 99
      def interpolate(locale, string, values)
        if string.respond_to?(:i18n_interpolate)
          string.i18n_interpolate(values)
        elsif values
          super
        else
          string
        end
      end

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

Defined in I18n::Backend::InterpolationCompiler

Type at least 2 characters to search.

↑↓ navigate · open · esc close