Method: ActiveSupport::OrderedHash#encode_with

Defined in:
activesupport/lib/active_support/ordered_hash.rb

#encode_with(coder) ⇒ Object



29
30
31
# File 'activesupport/lib/active_support/ordered_hash.rb', line 29

def encode_with(coder)
  coder.represent_seq "!omap", map { |k, v| { k => v } }
end