Module: YAML

Defined in:
lib/rubygems/syck_hack.rb

Overview

Hack to handle syck's DefaultKey bug

This file is always loaded AFTER either syck or psych are already loaded. It then looks at what constants are available and creates a consistent view on all rubys.

All this is so that there is always a YAML::Syck::DefaultKey class no matter if the full yaml library has loaded or not.

Constant Summary collapse

Syck =

JRuby's “Syck” is called “Yecht”

YAML::Yecht
SyntaxError =
Error