instance method
interpolate_or_raise_missing
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
interpolate_or_raise_missing(key)
No documentation comment.
Parameters
-
keyreq
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb, line 64
def interpolate_or_raise_missing(key)
escaped_key = escape_key_sym(key)
Base::RESERVED_KEYS.include?(key) ? reserved_key(escaped_key) : interpolate_key(escaped_key)
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb line 64
· View on GitHub
· Improve this page
· Find usages on GitHub