diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-07 15:54:30 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-07 15:54:30 -0700 |
commit | 56f296ee0b85ecd6956d640bac9ac9620ab44fb7 (patch) | |
tree | 3662ee0ff920dc1e968a3282bd747fa9e7898f24 /lib | |
parent | 6f12aff9ec1d01c939179cda117b09e36ef69e2b (diff) | |
download | psych-56f296ee0b85ecd6956d640bac9ac9620ab44fb7.zip |
line width option is passed to emitter
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psych/visitors/emitter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/psych/visitors/emitter.rb b/lib/psych/visitors/emitter.rb index c84629f..30db176 100644 --- a/lib/psych/visitors/emitter.rb +++ b/lib/psych/visitors/emitter.rb @@ -5,6 +5,7 @@ module Psych @handler = Psych::Emitter.new io @handler.indentation = options[:indentation] if options[:indentation] @handler.canonical = options[:canonical] if options[:canonical] + @handler.line_width = options[:line_width] if options[:line_width] end def visit_Psych_Nodes_Stream o |