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
- .new ⇒ DumperOptions constructor
Instance Attribute Summary
- #canonical rw
- #indentation rw
- #line_width rw
Constructor Details
.new ⇒ DumperOptions
# File 'ext/psych/lib/psych/handler.rb', line 18
def initialize @line_width = 0 @indentation = 2 @canonical = false end
Instance Attribute Details
#canonical (rw)
[ GitHub ]# File 'ext/psych/lib/psych/handler.rb', line 16
attr_accessor :line_width, :indentation, :canonical
#indentation (rw)
[ GitHub ]# File 'ext/psych/lib/psych/handler.rb', line 16
attr_accessor :line_width, :indentation, :canonical
#line_width (rw)
[ GitHub ]# File 'ext/psych/lib/psych/handler.rb', line 16
attr_accessor :line_width, :indentation, :canonical