summaryrefslogtreecommitdiffstats
path: root/lib/yaml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yaml')
-rw-r--r--lib/yaml/store.rb2
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)