Module Bundler::YAMLSerializer
In: lib/bundler/yaml_serializer.rb

A stub yaml serializer that can handle only hashes and strings (as of now).

Methods

Constants

ARRAY_REGEX = / ^ (?:[ ]*-[ ]) # '- ' before array items (['"]?) # optional opening quote (.*) # value \1 # matching closing quote $ /xo
HASH_REGEX = / ^ ([ ]*) # indentations (.+) # key (?::(?=(?:\s|$))) # : (without the lookahead the #key includes this when : is present in value) [ ]? (?: !\s)? # optional exclamation mark found with ruby 1.9.3 (['"]?) # optional opening quote (.*) # value \3 # matching closing quote $ /xo

Public Instance methods

[Validate]