* 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
This commit is contained in:
kou 2012-10-28 05:10:07 +00:00
parent 64c4647665
commit 134ded5d77
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sun Oct 28 14:09:44 2012 Kouhei Sutou <kou@cozmixng.org>
* lib/rexml/document.rb (REXML::Document#write): Fix wrong usage
in document.
Sun Oct 28 14:03:48 2012 Kouhei Sutou <kou@cozmixng.org>
* lib/rexml/document.rb (REXML::Document#write): Fix wrong method

View File

@ -161,8 +161,8 @@ module REXML
# Document.new("<a><b/></a>").write
#
# output_string = ""
# tr = Transitive.new( output_string )
# Document.new("<a><b/></a>").write( tr )
# tr = Transitive.new
# tr.write(Document.new("<a><b/></a>"), output_string)
#
# output::
# output an object which supports '<< string'; this is where the