diff --git a/lib/psych.rb b/lib/psych.rb index d87bd904..2f256334 100644 --- a/lib/psych.rb +++ b/lib/psych.rb @@ -479,6 +479,7 @@ def self.parse_stream yaml, filename: nil, &block # # Default: 2. # [:line_width] Max character to wrap line at. + # For unlimited line width use -1. # # Default: 0 (meaning "wrap at 81"). # [:canonical] Write "canonical" YAML form (very verbose, yet @@ -559,6 +560,7 @@ def self.dump o, io = nil, options = {} # # Default: 2. # [:line_width] Max character to wrap line at. + # For unlimited line width use -1. # # Default: 0 (meaning "wrap at 81"). # [:canonical] Write "canonical" YAML form (very verbose, yet