ruby-changes:25300
From: kou <ko1@a...>
Date: Sun, 28 Oct 2012 14:13:34 +0900 (JST)
Subject: [ruby-changes:25300] kou:r37352 (trunk): * lib/rexml/document.rb (REXML::Document#write): Fix wrong usage
kou 2012-10-28 14:10:07 +0900 (Sun, 28 Oct 2012) New Revision: 37352 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37352 Log: * lib/rexml/document.rb (REXML::Document#write): Fix wrong usage in document. Modified files: trunk/ChangeLog trunk/lib/rexml/document.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 37351) +++ ChangeLog (revision 37352) @@ -1,3 +1,8 @@ +Sun Oct 28 14:09:44 2012 Kouhei Sutou <kou@c...> + + * lib/rexml/document.rb (REXML::Document#write): Fix wrong usage + in document. + Sun Oct 28 14:03:48 2012 Kouhei Sutou <kou@c...> * lib/rexml/document.rb (REXML::Document#write): Fix wrong method Index: lib/rexml/document.rb =================================================================== --- lib/rexml/document.rb (revision 37351) +++ lib/rexml/document.rb (revision 37352) @@ -161,8 +161,8 @@ # Document.new("<a><b/></a>").write # # output_string = "" - # tr = Transitive.new( output_string ) - # Document.new("<a><b/></a>").write( tr ) + # tr = Transitive.new + # tr.write(Document.new("<a><b/></a>"), output_string) # # output:: # output an object which supports '<< string'; this is where the -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/