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 + + * lib/rexml/document.rb (REXML::Document#write): Fix wrong method + names in document. + Sun Oct 28 10:12:15 2012 Aaron Patterson * 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("").serialize + # Document.new("").write # # output_string = "" # tr = Transitive.new( output_string ) - # Document.new("").serialize( tr ) + # Document.new("").write( tr ) # # output:: # output an object which supports '<< string'; this is where the