* 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:
parent
20f4a2f322
commit
c1c349edb6
@ -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.
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user