%a{annotate:rdoc:skip} class Object # # Convert an object to YAML. See Psych.dump for more information on the # available `options`. # def to_yaml: (?indentation: Integer, ?line_width: Integer, ?canonical: bool, ?header: bool) -> String | [IO] (IO, ?indentation: Integer, ?line_width: Integer, ?canonical: bool, ?header: bool) -> IO end