instance method
encode_with
Ruby on Rails 4.0.13
Since v3.2.22.5 Last seen in v6.1.7.10Signature
encode_with(coder)
No documentation comment.
Parameters
-
coderreq
Source
# File activesupport/lib/active_support/ordered_hash.rb, line 27
def encode_with(coder)
coder.represent_seq '!omap', map { |k,v| { k => v } }
end
Defined in activesupport/lib/active_support/ordered_hash.rb line 27
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::OrderedHash