diff options
author | Juanjo Bazán <jjbazan@gmail.com> | 2024-07-12 12:46:39 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-09-09 06:44:40 +0000 |
commit | 74872109beb8280eebf7ad1edae23b3c356a1923 (patch) | |
tree | ed332ebe9196c04f0ce75dd0be732fd2e7a8038b | |
parent | dbfabafe9676c5569f2a923fd713b3fdd24ab344 (diff) |
[ruby/psych] Unlimited line_width with -1
https://github.com/ruby/psych/commit/3b63a93dfc
-rw-r--r-- | ext/psych/lib/psych.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/psych/lib/psych.rb b/ext/psych/lib/psych.rb index e96b752347..d227b1f225 100644 --- a/ext/psych/lib/psych.rb +++ b/ext/psych/lib/psych.rb @@ -479,6 +479,7 @@ module Psych # # Default: <tt>2</tt>. # [<tt>:line_width</tt>] Max character to wrap line at. + # For unlimited line width use <tt>-1</tt>. # # Default: <tt>0</tt> (meaning "wrap at 81"). # [<tt>:canonical</tt>] Write "canonical" YAML form (very verbose, yet @@ -559,6 +560,7 @@ module Psych # # Default: <tt>2</tt>. # [<tt>:line_width</tt>] Max character to wrap line at. + # For unlimited line width use <tt>-1</tt>. # # Default: <tt>0</tt> (meaning "wrap at 81"). # [<tt>:canonical</tt>] Write "canonical" YAML form (very verbose, yet |