instance method
encode_with
Ruby on Rails 3.1.12
Since v3.1.12Signature
encode_with(coder)
No documentation comment.
Parameters
-
coderreq
Source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 156
def encode_with(coder)
coder.represent_scalar nil, to_str
end
Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 156
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SafeBuffer