aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 7e3ca353df..455dfa0345 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Oct 28 14:09:44 2012 Kouhei Sutou <kou@cozmixng.org>
+
+ * lib/rexml/document.rb (REXML::Document#write): Fix wrong usage
+ in document.
+
Sun Oct 28 14:03:48 2012 Kouhei Sutou <kou@cozmixng.org>
* lib/rexml/document.rb (REXML::Document#write): Fix wrong method
diff --git a/lib/rexml/document.rb b/lib/rexml/document.rb
index bf9ff574a6..bbcc72fcca 100644
--- a/lib/rexml/document.rb
+++ b/lib/rexml/document.rb
@@ -161,8 +161,8 @@ module REXML
# 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