* 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
This commit is contained in:
why 2003-08-01 18:23:35 +00:00
parent 20f4a2f322
commit c1c349edb6
2 changed files with 6 additions and 1 deletions

View File

@ -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> Sat Aug 2 00:49:31 2003 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb: refine document. * lib/net/http.rb: refine document.

View File

@ -13,7 +13,7 @@ module YAML
def initialize( *o ) def initialize( *o )
@opt = YAML::DEFAULTS.dup @opt = YAML::DEFAULTS.dup
if String === o.first if String === o.first
super(o.pop) super(o.shift)
end end
if o.last.is_a? Hash if o.last.is_a? Hash
@opt.update(o.pop) @opt.update(o.pop)