diff options
Diffstat (limited to 'lib/rexml/document.rb')
-rw-r--r-- | lib/rexml/document.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |