method
new
v1_8_7_330 -
Show latest stable
- Class:
YAML::Store
new( *o )public
No documentation available.
# File lib/yaml/store.rb, line 8
def initialize( *o )
@opt = YAML::DEFAULTS.dup
if String === o.first
super(o.shift)
end
if o.last.is_a? Hash
@opt.update(o.pop)
end
end