summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--NEWS6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 647825b201..e76149b8bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Nov 3 14:09:55 2012 Kouhei Sutou <kou@cozmixng.org>
+
+ * NEWS: Add an item about REXML::Document#write.
+
Sat Nov 3 13:46:49 2012 Kouhei Sutou <kou@cozmixng.org>
* test/rexml/test_document.rb: Fix tests that expect encoding name
diff --git a/NEWS b/NEWS
index 464cfdc5fb..17b44b18a2 100644
--- a/NEWS
+++ b/NEWS
@@ -226,6 +226,12 @@ with all sufficient information, see the ChangeLog file.
* new method:
* ObjectSpace.reachable_objects_from(obj)
+* rexml
+ * REXML::Document#write supports Hash arguments.
+ * REXML::Document#write supports new :encoding option. It changes
+ XML document encoding. Without :encoding option, encoding in
+ XML declaration is used for XML document encoding.
+
=== Language changes
* Added %i and %I for symbol list creation (similar to %w and %W).