Module | YAML |
In: |
lib/safe_yaml/syck_hack.rb
lib/safe_yaml.rb |
Hack to JRuby 1.8‘s YAML Parser Yecht
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.
Taken from rubygems and modified. See github.com/rubygems/rubygems/blob/master/lib/rubygems/syck_hack.rb
Syck | = | ::Syck |
Syck | = | YAML::Yecht |
load | -> | unsafe_load |
load_with_options | -> | load |
load_file_with_options | -> | load_file |