mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Cross-ported the REXML changes (3.0.8) from the development branch to the
stable branch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
db0fac0266
commit
abe1214b3d
12 changed files with 946 additions and 891 deletions
|
@ -59,7 +59,7 @@ module REXML
|
|||
# c = CData.new( " Some text " )
|
||||
# c.write( $stdout ) #-> <![CDATA[ Some text ]]>
|
||||
def write( output=$stdout, indent=-1, transitive=false, ie_hack=false )
|
||||
indent( output, indent )
|
||||
indent( output, indent ) unless transitive
|
||||
output << START
|
||||
output << @string
|
||||
output << STOP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue