summaryrefslogtreecommitdiffstats
path: root/lib/rexml/attribute.rb
diff options
context:
space:
mode:
authorser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-16 15:17:31 +0000
committerser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-16 15:17:31 +0000
commit1c3030fe2c56383fd9c61ea1b9b574bc06f0351c (patch)
tree5add8b63369553228f3348398c7681f22c58cbec /lib/rexml/attribute.rb
parent60316f16e1da9344575d63c22017d8c7d8b1d147 (diff)
downloadruby-1c3030fe2c56383fd9c61ea1b9b574bc06f0351c.tar.gz
ruby-1c3030fe2c56383fd9c61ea1b9b574bc06f0351c.tar.xz
ruby-1c3030fe2c56383fd9c61ea1b9b574bc06f0351c.zip
------------------------------------------------------------------------
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6329 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 90d7e6612..9eb3c211e 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: