summaryrefslogtreecommitdiff
path: root/lib/rexml/attribute.rb
diff options
context:
space:
mode:
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: