| Class | YAML::Store |
| In: |
lib/yaml/store.rb
|
| Parent: | PStore |
# File lib/yaml/store.rb, line 8
8: def initialize( *o )
9: @opt = YAML::DEFAULTS.dup
10: if String === o.first
11: super(o.shift)
12: end
13: if o.last.is_a? Hash
14: @opt.update(o.pop)
15: end
16: end