summaryrefslogtreecommitdiff
path: root/lib/rexml/comment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/comment.rb')
-rw-r--r--lib/rexml/comment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/comment.rb b/lib/rexml/comment.rb
index 746af77296..822fe0d586 100644
--- a/lib/rexml/comment.rb
+++ b/lib/rexml/comment.rb
@@ -48,7 +48,7 @@ module REXML
# ie_hack::
# Needed for conformity to the child API, but not used by this class.
def write( output, indent=-1, transitive=false, ie_hack=false )
- Kernel.warn("Comment.write is deprecated. See REXML::Formatters")
+ Kernel.warn("Comment.write is deprecated. See REXML::Formatters", uplevel: 1)
indent( output, indent )
output << START
output << @string