# ri > Psych::Handler::DumperOptions

---
type: CommandReference
command: Psych::Handler::DumperOptions
mode: perldoc
section: ""
source: perldoc
---

## Quick Reference

- `Psych::Handler::DumperOptions.new` — create a new DumperOptions instance
- `canonical` — get/set the canonical mode
- `indentation` — get/set the indentation width
- `line_width` — get/set the line width

## Name

Psych::Handler::DumperOptions — Configuration options for dumping YAML.

## Synopsis

`Psych::Handler::DumperOptions.new`

## Options

- `canonical` — attribute accessor (get/set)
- `indentation` — attribute accessor (get/set)
- `line_width` — attribute accessor (get/set)