Misc #14567 ยป yaml-docs.patch
lib/yaml.rb | ||
---|---|---|
# YAML.dump("foo") # => "--- foo\n...\n"
|
||
# { :a => 'b'}.to_yaml # => "---\n:a: b\n"
|
||
#
|
||
# As the implementation is provided by Psych library, detailed usage instructions
|
||
# could be found in that library's docs (also part of standard library). In fact,
|
||
# all that <tt>require 'yaml'</tt> currently does, is providing +YAML+ constant
|
||
# as a synonym for +Psych+.
|
||
#
|
||
# == Security
|
||
#
|
||
# Do not use YAML to load untrusted data. Doing so is unsafe and could allow
|