diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | NEWS | 6 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sat Nov 3 14:09:55 2012 Kouhei Sutou <[email protected]> + + * NEWS: Add an item about REXML::Document#write. + Sat Nov 3 13:46:49 2012 Kouhei Sutou <[email protected]> * test/rexml/test_document.rb: Fix tests that expect encoding name @@ -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). |