diff options
Diffstat (limited to 'lib/rexml/xmldecl.rb')
-rw-r--r-- | lib/rexml/xmldecl.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rexml/xmldecl.rb b/lib/rexml/xmldecl.rb index df2cbf0060..47131ac816 100644 --- a/lib/rexml/xmldecl.rb +++ b/lib/rexml/xmldecl.rb @@ -94,6 +94,10 @@ module REXML @writethis = true end + def inspect + START.sub(/\\/u, '') + " ... " + STOP.sub(/\\/u, '') + end + private def content(enc) rv = "version='#@version'" |