method

to_yaml

rails latest stable - Class: ActiveSupport::SafeBuffer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

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