method
to_yaml
v2.3.8 -
Show latest stable
- Class:
ActiveSupport::OrderedHash
to_yaml(opts = {})public
No documentation available.
# File activesupport/lib/active_support/ordered_hash.rb, line 14
def to_yaml(opts = {})
YAML.quick_emit(self, opts) do |out|
out.seq(taguri, to_yaml_style) do |seq|
each do |k, v|
seq.add(k => v)
end
end
end
end