YAML Hash class to support comments and defaults
[Source]
# File yaml/types.rb, line 51 def inspect self.default.to_s end
# File yaml/types.rb, line 54 def to_s self.default.to_s end
# File yaml/types.rb, line 63 def to_yaml( opts = {} ) opts[:DefaultKey] = self.default super( opts ) end
# File yaml/types.rb, line 57 def update( h ) if YAML::SpecialHash === h @default = h.default if h.default end super( h ) end
[Validate]