[前][次][番号順一覧][スレッド一覧]

ruby-changes:25299

From: kou <ko1@a...>
Date: Sun, 28 Oct 2012 14:05:37 +0900 (JST)
Subject: [ruby-changes:25299] kou:r37351 (trunk): * lib/rexml/document.rb (REXML::Document#write): Fix wrong method

kou	2012-10-28 14:05:18 +0900 (Sun, 28 Oct 2012)

  New Revision: 37351

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37351

  Log:
    * lib/rexml/document.rb (REXML::Document#write): Fix wrong method
      names in document.

  Modified files:
    trunk/ChangeLog
    trunk/lib/rexml/document.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37350)
+++ ChangeLog	(revision 37351)
@@ -1,3 +1,8 @@
+Sun Oct 28 14:03:48 2012  Kouhei Sutou  <kou@c...>
+
+	* lib/rexml/document.rb (REXML::Document#write): Fix wrong method
+	  names in document.
+
 Sun Oct 28 10:12:15 2012  Aaron Patterson <aaron@t...>
 
 	* ext/psych/lib/psych/visitors/yaml_tree.rb: `tree` should return the
Index: lib/rexml/document.rb
===================================================================
--- lib/rexml/document.rb	(revision 37350)
+++ lib/rexml/document.rb	(revision 37351)
@@ -158,11 +158,11 @@
     # to change the default formatting of XML output
     #
     # _Examples_
-    #   Document.new("<a><b/></a>").serialize
+    #   Document.new("<a><b/></a>").write
     #
     #   output_string = ""
     #   tr = Transitive.new( output_string )
-    #   Document.new("<a><b/></a>").serialize( tr )
+    #   Document.new("<a><b/></a>").write( tr )
     #
     # output::
     #     output an object which supports '<< string'; this is where the

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]