summaryrefslogtreecommitdiff
path: root/lib/rexml/element.rb
diff options
context:
space:
mode:
authorser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-16 18:42:58 +0000
committerser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-16 18:42:58 +0000
commit0d04057aad88b17c6189caa2443cd4b79ba96b13 (patch)
tree0dbe5f70de81f17d043a39947e72a02c428c9a0d /lib/rexml/element.rb
parentfcc9c6eab39a535efb827e5fd556dc043bdff6e6 (diff)
------------------------------------------------------------------------
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/element.rb')
-rw-r--r--lib/rexml/element.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/element.rb b/lib/rexml/element.rb
index 6456518cd7..ffc81bed91 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