summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-28 05:05:18 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-28 05:05:18 +0000
commit64c4647665dadbab678da57a9ae18126482ad629 (patch)
treea0e643c26184eef9e80b0405734cb9443ef73d7d
parentf8d34b2a751207fa9d31482e7f587f8bf59b892c (diff)
* lib/rexml/document.rb (REXML::Document#write): Fix wrong method
names in document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/rexml/document.rb4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d86047537f..7e3ca353df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Oct 28 14:03:48 2012 Kouhei Sutou <kou@cozmixng.org>
+
+ * lib/rexml/document.rb (REXML::Document#write): Fix wrong method
+ names in document.
+
Sun Oct 28 10:12:15 2012 Aaron Patterson <aaron@tenderlovemaking.com>
* ext/psych/lib/psych/visitors/yaml_tree.rb: `tree` should return the
diff --git a/lib/rexml/document.rb b/lib/rexml/document.rb
index 96db53bdb0..bf9ff574a6 100644
--- a/lib/rexml/document.rb
+++ b/lib/rexml/document.rb
@@ -158,11 +158,11 @@ module REXML
# 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