diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-28 05:10:07 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-28 05:10:07 +0000 |
commit | 134ded5d7720544f28c8949743ec4d64cc9b8b9d (patch) | |
tree | d86d3771e0d7f8be8530a17a3e76c1a286996948 /lib/rexml/document.rb | |
parent | 64c4647665dadbab678da57a9ae18126482ad629 (diff) | |
download | ruby-134ded5d7720544f28c8949743ec4d64cc9b8b9d.tar.gz |
* 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
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 bf9ff574a6..bbcc72fcca 100644 --- a/lib/rexml/document.rb +++ b/lib/rexml/document.rb @@ -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 |