123456789_123456789_123456789_123456789_123456789_

Class: Psych::Handler::DumperOptions

Relationships & Source Files
Inherits: Object
Defined in: ext/psych/lib/psych/handler.rb

Overview

Configuration options for dumping YAML.

Class Method Summary

Instance Attribute Summary

Constructor Details

.newDumperOptions

[ GitHub ]

  
# File 'ext/psych/lib/psych/handler.rb', line 19

def initialize
  @line_width  = 0
  @indentation = 2
  @canonical   = false
end

Instance Attribute Details

#canonical (rw)

[ GitHub ]

  
# File 'ext/psych/lib/psych/handler.rb', line 17

attr_accessor :line_width, :indentation, :canonical

#indentation (rw)

[ GitHub ]

  
# File 'ext/psych/lib/psych/handler.rb', line 17

attr_accessor :line_width, :indentation, :canonical

#line_width (rw)

[ GitHub ]

  
# File 'ext/psych/lib/psych/handler.rb', line 17

attr_accessor :line_width, :indentation, :canonical