diff options
| author | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-16 18:42:58 +0000 |
|---|---|---|
| committer | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-16 18:42:58 +0000 |
| commit | bbecd4f7465438751ac357853ff544692b8569f7 (patch) | |
| tree | 0dbe5f70de81f17d043a39947e72a02c428c9a0d /lib/rexml/element.rb | |
| parent | b0d0e2f2e121b3b6fc21f8471596aa5a0a98ddbf (diff) | |
| download | ruby-bbecd4f7465438751ac357853ff544692b8569f7.tar.gz ruby-bbecd4f7465438751ac357853ff544692b8569f7.tar.xz ruby-bbecd4f7465438751ac357853ff544692b8569f7.zip | |
------------------------------------------------------------------------
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/element.rb')
| -rw-r--r-- | lib/rexml/element.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/element.rb b/lib/rexml/element.rb index 6456518cd..ffc81bed9 100644 --- a/lib/rexml/element.rb +++ b/lib/rexml/element.rb @@ -659,7 +659,7 @@ module REXML end writer << "/" else - if transitive and indent>-1 and !@children[0].kind_of? Text + if transitive and indent>-1 and !@children[0].instance_of? Text writer << "\n" indent writer, indent+1 end |
