From 134ded5d7720544f28c8949743ec4d64cc9b8b9d Mon Sep 17 00:00:00 2001 From: kou Date: Sun, 28 Oct 2012 05:10:07 +0000 Subject: * lib/rexml/document.rb (REXML::Document#write): Fix wrong usage in document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rexml/document.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rexml/document.rb') 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("").write # # output_string = "" - # tr = Transitive.new( output_string ) - # Document.new("").write( tr ) + # tr = Transitive.new + # tr.write(Document.new(""), output_string) # # output:: # output an object which supports '<< string'; this is where the -- cgit v1.2.3