method
new
new( *o )
public
Hide source
# 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