diff options
author | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-01 18:23:35 +0000 |
---|---|---|
committer | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-01 18:23:35 +0000 |
commit | 14b36789473aba8677a654455b12d4f5adf2e151 (patch) | |
tree | 4545c4a451ca1211b0890e50f583b0dc8f1d54a8 /lib/yaml | |
parent | 568d27e8e560ac1c321396b68ad13a0493ec2cdc (diff) | |
download | ruby-14b36789473aba8677a654455b12d4f5adf2e151.tar.gz ruby-14b36789473aba8677a654455b12d4f5adf2e151.tar.xz ruby-14b36789473aba8677a654455b12d4f5adf2e151.zip |
* lib/yaml/store.rb (YAML::Store#initialize): filename is first
argument. Thanks Kent Dahl.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/yaml')
-rw-r--r-- | lib/yaml/store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yaml/store.rb b/lib/yaml/store.rb index b2924b066..2e74b2722 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) |