Module: SafeYAML

Defined in:
lib/safe_yaml.rb,
lib/safe_yaml/version.rb,
lib/safe_yaml/whitelist.rb,
lib/safe_yaml/tag_verifier.rb,
lib/safe_yaml/syck_tag_verifier.rb,
lib/safe_yaml/psych_tag_verifier.rb

Defined Under Namespace

Classes: PsychTagVerifier, SyckTagVerifier, TagVerifier, UnsafeTagError, Whitelist

Constant Summary collapse

MULTI_ARGUMENT_YAML_LOAD =
YAML.method(:load).arity != 1
YAML_ENGINE =
defined?(YAML::ENGINE) ? YAML::ENGINE.yamler : "syck"
OPTIONS =
{
  :enable_symbol_parsing => false,
  :enable_arbitrary_object_deserialization => false,
  :suppress_warnings => false
}
VERSION =
"0.8.0"