From c1c349edb616be517867cf870ffde23cb19a3bc4 Mon Sep 17 00:00:00 2001 From: why Date: Fri, 1 Aug 2003 18:23:35 +0000 Subject: * lib/yaml/store.rb (YAML::Store#initialize): filename is first argument. Thanks Kent Dahl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/yaml/store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/yaml') diff --git a/lib/yaml/store.rb b/lib/yaml/store.rb index b2924b0660..2e74b27221 100644 --- a/lib/yaml/store.rb +++ b/lib/yaml/store.rb @@ -13,7 +13,7 @@ module YAML def initialize( *o ) @opt = YAML::DEFAULTS.dup if String === o.first - super(o.pop) + super(o.shift) end if o.last.is_a? Hash @opt.update(o.pop) -- cgit v1.2.3