diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/yaml/store.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Fri Aug 2 03:20:00 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> + + * lib/yaml/store.rb (YAML::Store#initialize): filename is first + argument. Thanks Kent Dahl. + Sat Aug 2 00:49:31 2003 Minero Aoki <aamine@loveruby.net> * lib/net/http.rb: refine document. 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) |