summaryrefslogtreecommitdiff
path: root/lib/rexml/attribute.rb
diff options
context:
space:
mode:
authorser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-16 19:08:03 +0000
committerser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-16 19:08:03 +0000
commitabe1214b3dd57b3a24d722ba592146db8eaabd40 (patch)
tree5fbc86b061de7618c69e6469d18805f6b376cc1d /lib/rexml/attribute.rb
parentdb0fac02665cb9e1e638959733e9572c845b4710 (diff)
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
Diffstat (limited to 'lib/rexml/attribute.rb')
-rw-r--r--lib/rexml/attribute.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rexml/attribute.rb b/lib/rexml/attribute.rb
index 90d7e66122..9eb3c211ea 100644
--- a/lib/rexml/attribute.rb
+++ b/lib/rexml/attribute.rb
@@ -146,6 +146,12 @@ module REXML
def node_type
:attribute
end
+
+ def inspect
+ rv = ""
+ write( rv )
+ rv
+ end
end
end
#vim:ts=2 sw=2 noexpandtab: