diff options
Diffstat (limited to 'lib/rexml/xmldecl.rb')
-rw-r--r-- | lib/rexml/xmldecl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/xmldecl.rb b/lib/rexml/xmldecl.rb index 1c0bde8f4d..3f90e0160f 100644 --- a/lib/rexml/xmldecl.rb +++ b/lib/rexml/xmldecl.rb @@ -38,7 +38,7 @@ module REXML end def write writer, indent=-1, transitive=false, ie_hack=false - return "" unless @writethis or writer.kind_of? Output + return nil unless @writethis or writer.kind_of? Output indent( writer, indent ) writer << START.sub(/\\/u, '') if writer.kind_of? Output |