instance method
escape_key_sym
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
escape_key_sym(key)
No documentation comment.
Parameters
-
keyreq
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb, line 93
def escape_key_sym(key)
# rely on Ruby to do all the hard work :)
key.to_sym.inspect
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/backend/interpolation_compiler.rb line 93
· View on GitHub
· Improve this page
· Find usages on GitHub