method
to_yaml
rails latest stable - Class:
ActiveSupport::SafeBuffer
to_yaml(*args)public
No documentation available.
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 160
def to_yaml(*args)
return super() if defined?(YAML::ENGINE) && !YAML::ENGINE.syck?
to_str.to_yaml(*args)
end