ruby-changes:19996
From: naruse <ko1@a...>
Date: Mon, 13 Jun 2011 12:57:01 +0900 (JST)
Subject: [ruby-changes:19996] naruse:r32043 (trunk): * ext/syck/lib/syck/rubytypes.rb: ditto.
naruse 2011-06-13 12:54:57 +0900 (Mon, 13 Jun 2011) New Revision: 32043 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32043 Log: * ext/syck/lib/syck/rubytypes.rb: ditto. Modified files: trunk/ChangeLog trunk/ext/syck/lib/syck/rubytypes.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 32042) +++ ChangeLog (revision 32043) @@ -1,8 +1,12 @@ Mon Jun 13 12:23:39 2011 NARUSE, Yui <naruse@r...> +Mon Jun 13 12:23:39 2011 NARUSE, Yui <naruse@r...> + * ext/psych/lib/psych/deprecated.rb (Object#to_yaml_properties): undef to_yaml_properties before redefine it. + * ext/syck/lib/syck/rubytypes.rb: ditto. + Mon Jun 13 11:30:10 2011 Martin Bosslet <Martin.Bosslet@g...> * ext/openssl/ossl_digest.c: allow Digests to be created by sn, ln or Index: ext/syck/lib/syck/rubytypes.rb =================================================================== --- ext/syck/lib/syck/rubytypes.rb (revision 32042) +++ ext/syck/lib/syck/rubytypes.rb (revision 32043) @@ -10,6 +10,7 @@ class Object yaml_as "tag:ruby.yaml.org,2002:object" def to_yaml_style; end + undef to_yaml_properties def to_yaml_properties; instance_variables.sort; end def to_yaml( opts = {} ) YAML::quick_emit( self, opts ) do |out| -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/