Module: YAML

Defined in:
lib/yaml.rb,
lib/yaml/dbm.rb

Overview

The YAML module allows you to use one of the two YAML engines that ship with ruby. By default Psych is used but the old and unmaintained Syck may be chosen.

See Psych or Syck for usage and documentation.

To set the YAML engine to syck:

YAML::ENGINE.yamler = 'syck'

To set the YAML engine back to psych:

YAML::ENGINE.yamler = 'psych'

Defined Under Namespace

Classes: DBM, EngineManager, Store

Constant Summary collapse

ENGINE =

Allows changing the current YAML engine. See YAML for details.

YAML::EngineManager.new